1 error[E0404]: expected trait, found derive macro `Debug`
2 --> $DIR/universal_wrong_bounds.rs:9:24
4 LL | fn wants_debug(g: impl Debug) { }
7 help: consider importing this trait instead
9 LL | use std::fmt::Debug;
12 error[E0404]: expected trait, found derive macro `Debug`
13 --> $DIR/universal_wrong_bounds.rs:10:26
15 LL | fn wants_display(g: impl Debug) { }
18 help: consider importing this trait instead
20 LL | use std::fmt::Debug;
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0404`.