mirror of
https://github.com/servo/servo.git
synced 2025-06-17 12:54:28 +00:00
Remove suggestion to use #[must_root] for functions
This commit is contained in:
parent
ba13e448cf
commit
f6e14119b6
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue