rust/tests/ui/rename.rs

14 lines
170 B
Rust
Raw Normal View History

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