rust/tests/ui/rename.rs

14 lines
170 B
Rust
Raw Normal View History

2018-12-17 13:59:09 +01:00
#![allow(stutter)]
#[warn(clippy::stutter)]
fn main() {}
#[warn(clippy::new_without_default_derive)]
struct Foo;
impl Foo {
fn new() -> Self {
Foo
}
}