aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/plugins/lints.rs')
-rw-r--r--components/plugins/lints.rs2
1 files changed, 1 insertions, 1 deletions
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`