]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-24356.stderr
Auto merge of #41433 - estebank:constructor, r=michaelwoerister
[rust.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 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 }
9 35 | |         }
10    | |_________^ missing `Target` in implementation
11    |
12    = note: `Target` from trait: `type Target;`
13
14 error: aborting due to previous error
15