fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0404]: expected trait, found struct `Foo` 2 --> $DIR/trait-bounds-not-on-struct.rs:5:16 3 | 4LL | fn foo(_x: Box<Foo + Send>) { } 5 | ^^^ not a trait 6 7error[E0404]: expected trait, found struct `Vec` 8 --> $DIR/trait-bounds-not-on-struct.rs:7:21 9 | 10LL | type A<T> = Box<dyn Vec<T>>; 11 | ^^^^^^ not a trait 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0404`.