1 //! Test for Clippy lint renames.
3 // allow the new lint name here, to test if the new name works
4 #![allow(clippy::module_name_repetitions)]
5 #![allow(clippy::new_without_default)]
6 #![allow(clippy::cognitive_complexity)]
7 #![allow(clippy::redundant_static_lifetimes)]
8 // warn for the old lint name here, to test if the renaming worked
9 #![warn(clippy::cyclomatic_complexity)]
11 #[warn(clippy::stutter)]
14 #[warn(clippy::new_without_default_derive)]
17 #[warn(clippy::const_static_lifetime)]
18 static Bar: &'static str = "baz";