]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/issue-88206.stderr
Add test for macro-not-found-but-name-imported-here note.
[rust.git] / src / test / ui / derives / issue-88206.stderr
1 error: cannot find derive macro `Serialize` in this scope
2   --> $DIR/issue-88206.rs:14:10
3    |
4 LL | #[derive(Serialize)]
5    |          ^^^^^^^^^
6    |
7 note: `Serialize` is imported here, but it is not a derive macro
8   --> $DIR/issue-88206.rs:10:5
9    |
10 LL | use hey::Serialize;
11    |     ^^^^^^^^^^^^^^
12
13 warning: unused import: `hey::Serialize`
14   --> $DIR/issue-88206.rs:10:5
15    |
16 LL | use hey::Serialize;
17    |     ^^^^^^^^^^^^^^
18    |
19 note: the lint level is defined here
20   --> $DIR/issue-88206.rs:3:9
21    |
22 LL | #![warn(unused_imports)]
23    |         ^^^^^^^^^^^^^^
24
25 error: aborting due to previous error; 1 warning emitted
26