aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-10-31 11:57:42 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-10-31 11:57:42 +0530
commitf6e14119b682b54c6533aac502fcbb00301396e9 (patch)
treeb84d9fe55feaaf8da393b54276f0a1971ef58e30 /components/plugins/lints.rs
parentba13e448cf6bef8977bb12ae96b4f2af177c6ea4 (diff)
downloadservo-f6e14119b682b54c6533aac502fcbb00301396e9.tar.gz
servo-f6e14119b682b54c6533aac502fcbb00301396e9.zip
Remove suggestion to use #[must_root] for functions
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`