rust/tests/ui/self_named_constructors.stderr
flip1995 c0e0171880
Rename two lints to comply with our lint naming convention
self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain
2021-07-29 13:28:41 +02:00

13 lines
332 B
Plaintext

error: constructor `should_spawn` has the same name as the type
--> $DIR/self_named_constructors.rs:7:5
|
LL | / pub fn should_spawn() -> ShouldSpawn {
LL | | ShouldSpawn
LL | | }
| |_____^
|
= note: `-D clippy::self-named-constructors` implied by `-D warnings`
error: aborting due to previous error