3 // This test purpose is to check that unused_imports lint isn't fired
4 // by rustdoc. Why would it? Because when rustdoc is running, it uses
5 // "everybody-loops" which replaces parts of code with "loop {}" to get
6 // huge performance improvements.
8 #![deny(unused_imports)]