1 error[E0038]: the trait `A` cannot be made into an object
2 --> $DIR/wf-object-safe.rs:19:13
4 LL | let _x: &A; //~ ERROR E0038
5 | ^^ the trait `A` cannot be made into an object
7 = note: method `foo` references the `Self` type in its arguments or return type
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0038`.