mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
No extern crate test/tidy & better RUSTFLAGS handling in mach (#30328)
* Remove unused extern crate rustflag * Remove tidy check alphabetical order of extern crates rustfmt's reorder_imports already does that * fix * better RUSTFLAGS handling
This commit is contained in:
parent
d470955032
commit
9b1247b20f
3 changed files with 5 additions and 22 deletions
|
@ -108,7 +108,6 @@ class CheckTidiness(unittest.TestCase):
|
|||
errors = tidy.collect_errors_for_files(iterFile('rust_tidy.rs'), [], [tidy.check_rust], print_text=False)
|
||||
self.assertTrue('mod declaration is not in alphabetical order' in next(errors)[2])
|
||||
self.assertEqual('mod declaration spans multiple lines', next(errors)[2])
|
||||
self.assertTrue('extern crate declaration is not in alphabetical order' in next(errors)[2])
|
||||
self.assertTrue('derivable traits list is not in alphabetical order' in next(errors)[2])
|
||||
self.assertEqual('found an empty line following a {', next(errors)[2])
|
||||
self.assertEqual('use &[T] instead of &Vec<T>', next(errors)[2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue