fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0038]: the trait `A` cannot be made into an object 2 --> $DIR/wf-object-safe.rs:9:13 3 | 4LL | trait A { 5 | - this trait cannot be made into an object... 6LL | fn foo(&self, _x: &Self); 7 | ----- ...because method `foo` references the `Self` type in this parameter 8... 9LL | let _x: &dyn A; 10 | ^^^^^^ the trait `A` cannot be made into an object 11 | 12 = help: consider moving `foo` to another trait 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0038`.