summary refs log tree commit diff
path: root/src/test/ui/span/issue-24356.stderr
blob: 771ea787304b3c29862b4b7c6dc0c0002b776089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0046]: not all trait items implemented, missing: `Target`
  --> $DIR/issue-24356.rs:30:9
   |
30 | /         impl Deref for Thing {
31 | |             //~^ ERROR E0046
32 | |             //~| NOTE missing `Target` in implementation
33 | |             //~| NOTE `Target` from trait: `type Target;`
34 | |             fn deref(&self) -> i8 { self.0 }
35 | |         }
   | |_________^ missing `Target` in implementation
   |
   = note: `Target` from trait: `type Target;`

error: aborting due to previous error(s)