]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/define-two.stderr
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / ui / proc-macro / define-two.stderr
1 error[E0428]: the name `A` is defined multiple times
2   --> $DIR/define-two.rs:15:21
3    |
4 LL | #[proc_macro_derive(A)]
5    |                     - previous definition of the macro `A` here
6 ...
7 LL | #[proc_macro_derive(A)]
8    |                     ^ `A` redefined here
9    |
10    = note: `A` must be defined only once in the macro namespace of this module
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0428`.