rustc: Add lint for misplaced crate attributes
This commit is contained in:
parent
ffaee0fd96
commit
6ff697d393
2 changed files with 31 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ while cur < len(lines):
|
|||
#[ allow(unused_variable) ];\n
|
||||
#[ allow(dead_assignment) ];\n
|
||||
#[ allow(unused_mut) ];\n
|
||||
#[ allow(attribute_usage) ];\n
|
||||
#[ feature(macro_rules, globs, struct_variant, managed_boxes) ];\n
|
||||
""" + block
|
||||
if xfail:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue