summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/self_named_constructors.stderr
blob: ba989f06dc80d2c87798f5140e36bc8de84303db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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