]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/use-placement-resolve.stderr
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / use-placement-resolve.stderr
1 error[E0404]: expected trait, found derive macro `Debug`
2   --> $DIR/use-placement-resolve.rs:11:14
3    |
4 LL | fn foobar<T: Debug>(x: T) {}
5    |              ^^^^^ not a trait
6    |
7 help: consider importing this trait instead
8    |
9 LL | use std::fmt::Debug;
10    |
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0404`.