1 error[E0046]: not all trait items implemented, missing: `Target`
2 --> $DIR/issue-24356.rs:30:9
4 30 | / impl Deref for Thing {
5 31 | | //~^ ERROR E0046
6 32 | | //~| NOTE missing `Target` in implementation
7 33 | | //~| NOTE `Target` from trait: `type Target;`
8 34 | | fn deref(&self) -> i8 { self.0 }
10 | |_________^ missing `Target` in implementation
12 = note: `Target` from trait: `type Target;`
14 error: aborting due to previous error