From 9b1247b20f2de6bbba39efff49eabc63e865ce2e Mon Sep 17 00:00:00 2001 From: Samson <16504129+sagudev@users.noreply.github.com> Date: Sun, 10 Sep 2023 20:32:10 +0200 Subject: 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 --- python/tidy/test.py | 1 - 1 file changed, 1 deletion(-) (limited to 'python/tidy/test.py') diff --git a/python/tidy/test.py b/python/tidy/test.py index 5b6cff89988..5690b397a0c 100644 --- a/python/tidy/test.py +++ b/python/tidy/test.py @@ -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', next(errors)[2]) -- cgit v1.2.3