fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0404]: expected trait, found derive macro `Debug` 2 --> $DIR/universal_wrong_bounds.rs:9:24 3 | 4LL | fn wants_debug(g: impl Debug) { } 5 | ^^^^^ not a trait 6 | 7help: possible better candidate is found in another module, you can import it into scope 8 | 9LL | use std::fmt::Debug; 10 | 11 12error[E0404]: expected trait, found derive macro `Debug` 13 --> $DIR/universal_wrong_bounds.rs:10:26 14 | 15LL | fn wants_display(g: impl Debug) { } 16 | ^^^^^ not a trait 17 | 18help: possible better candidate is found in another module, you can import it into scope 19 | 20LL | use std::fmt::Debug; 21 | 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0404`.