diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-10-31 11:57:42 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-10-31 11:57:42 +0530 |
commit | f6e14119b682b54c6533aac502fcbb00301396e9 (patch) | |
tree | b84d9fe55feaaf8da393b54276f0a1971ef58e30 /components/plugins/lints.rs | |
parent | ba13e448cf6bef8977bb12ae96b4f2af177c6ea4 (diff) | |
download | servo-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.rs | 2 |
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` |