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`