From f6e14119b682b54c6533aac502fcbb00301396e9 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 31 Oct 2014 11:57:42 +0530 Subject: [PATCH] Remove suggestion to use #[must_root] for functions --- components/plugins/lints.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/plugins/lints.rs b/components/plugins/lints.rs index 01d6a81a7a8..fbd229f896e 100644 --- a/components/plugins/lints.rs +++ b/components/plugins/lints.rs @@ -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`