]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-use-wrong-name.stderr
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
[rust.git] / tests / ui / macros / macro-use-wrong-name.stderr
1 error: cannot find macro `macro_two` in this scope
2   --> $DIR/macro-use-wrong-name.rs:7:5
3    |
4 LL |     macro_two!();
5    |     ^^^^^^^^^ help: a macro with a similar name exists: `macro_one`
6    |
7   ::: $DIR/auxiliary/two_macros.rs:2:1
8    |
9 LL | macro_rules! macro_one { () => ("one") }
10    | ---------------------- similarly named macro `macro_one` defined here
11    |
12    = note: consider importing this macro:
13            two_macros::macro_two
14
15 error: aborting due to previous error
16