summary refs log tree commit diff
path: root/src/test/ui/proc-macro/dollar-crate.stderr
blob: 5d78a8e1987292fa1cbd1149f10989a29b28e5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
error[E0428]: the name `D` is defined multiple times
  --> $DIR/dollar-crate.rs:26:13
   |
LL |             struct D($crate::S);
   |             ^^^^^^^^^^^^^^^^^^^^
   |             |
   |             `D` redefined here
   |             previous definition of the type `D` here
...
LL |     local!();
   |     --------- in this macro invocation
   |
   = note: `D` must be defined only once in the type namespace of this module

error[E0428]: the name `D` is defined multiple times
  --> $DIR/dollar-crate.rs:36:5
   |
LL |     dollar_crate_external::external!();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |     |
   |     `D` redefined here
   |     previous definition of the type `D` here
   |
   = note: `D` must be defined only once in the type namespace of this module
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0428`.