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