]> git.lizzy.rs Git - rust.git/blob - tests/ui/rename.rs
Auto merge of #3645 - phansch:remove_copyright_headers, r=oli-obk
[rust.git] / tests / ui / rename.rs
1 #![allow(stutter)]
2
3 #[warn(clippy::stutter)]
4 fn main() {}
5
6 #[warn(clippy::new_without_default_derive)]
7 struct Foo;
8
9 impl Foo {
10     fn new() -> Self {
11         Foo
12     }
13 }