]> git.proxmox.com Git - rustc.git/blob - src/test/ui/span/issue-24356.stderr
New upstream version 1.15.0+dfsg1
[rustc.git] / src / test / ui / span / issue-24356.stderr
1 error[E0046]: not all trait items implemented, missing: `Target`
2 --> $DIR/issue-24356.rs:30:9
3 |
4 30 | impl Deref for Thing {
5 | _________^ starting here...
6 31 | | //~^ ERROR E0046
7 32 | | //~| NOTE missing `Target` in implementation
8 33 | | //~| NOTE `Target` from trait: `type Target;`
9 34 | | fn deref(&self) -> i8 { self.0 }
10 35 | | }
11 | |_________^ ...ending here: missing `Target` in implementation
12 |
13 = note: `Target` from trait: `type Target;`
14
15 error: aborting due to previous error
16