]> git.lizzy.rs Git - rust.git/blob - src/test/ui/wf/wf-object-safe.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / wf / wf-object-safe.stderr
1 error[E0038]: the trait `A` cannot be made into an object
2   --> $DIR/wf-object-safe.rs:19:13
3    |
4 LL |     let _x: &A; //~ ERROR E0038
5    |             ^^ the trait `A` cannot be made into an object
6    |
7    = note: method `foo` references the `Self` type in its arguments or return type
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0038`.