Remove suggestion to use #[must_root] for functions

This commit is contained in:
Manish Goregaokar 2014-10-31 11:57:42 +05:30
parent ba13e448cf
commit f6e14119b6

View file

@ -112,7 +112,7 @@ impl LintPass for UnrootedPass {
ast::DefaultBlock => {
for arg in decl.inputs.iter() {
lint_unrooted_ty(cx, &*arg.ty,
"Type must be rooted, use #[must_root] on the fn definition to propagate")
"Type must be rooted")
}
}
_ => () // fn is `unsafe`