summary refs log tree commit diff
path: root/src/test/ui/wf/wf-object-safe.stderr
blob: 3d42c52136bae55d5fc0bc4fbc1a809997afed97 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0038]: the trait `A` cannot be made into an object
  --> $DIR/wf-object-safe.rs:19:13
   |
LL |     let _x: &A; //~ ERROR E0038
   |             ^^ the trait `A` cannot be made into an object
   |
   = note: method `foo` references the `Self` type in its arguments or return type

error: aborting due to previous error

For more information about this error, try `rustc --explain E0038`.