fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0038]: the trait `Bar` cannot be made into an object 2 --> $DIR/issue-18959.rs:11:11 3 | 4LL | pub trait Foo { fn foo<T>(&self, ext_thing: &T); } 5 | --- ...because method `foo` has generic type parameters 6LL | pub trait Bar: Foo { } 7 | --- this trait cannot be made into an object... 8... 9LL | fn foo(b: &dyn Bar) { 10 | ^^^^^^^^ the trait `Bar` 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`.