]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/resolve-error.stderr
Rollup merge of #105697 - fee1-dead-contrib:rm-fee1-dead, r=Mark-Simulacrum
[rust.git] / src / test / ui / proc-macro / resolve-error.stderr
1 error: cannot find macro `bang_proc_macrp` in this scope
2   --> $DIR/resolve-error.rs:60:5
3    |
4 LL |     bang_proc_macrp!();
5    |     ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `bang_proc_macro`
6    |
7   ::: $DIR/auxiliary/test-macros.rs:15:1
8    |
9 LL | pub fn empty(_: TokenStream) -> TokenStream {
10    | ------------------------------------------- similarly named macro `bang_proc_macro` defined here
11
12 error: cannot find macro `Dlona` in this scope
13   --> $DIR/resolve-error.rs:57:5
14    |
15 LL |     Dlona!();
16    |     ^^^^^
17
18 error: cannot find macro `attr_proc_macra` in this scope
19   --> $DIR/resolve-error.rs:54:5
20    |
21 LL | macro_rules! attr_proc_mac {
22    | -------------------------- similarly named macro `attr_proc_mac` defined here
23 ...
24 LL |     attr_proc_macra!();
25    |     ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `attr_proc_mac`
26
27 error: cannot find macro `FooWithLongNama` in this scope
28   --> $DIR/resolve-error.rs:51:5
29    |
30 LL | macro_rules! FooWithLongNam {
31    | --------------------------- similarly named macro `FooWithLongNam` defined here
32 ...
33 LL |     FooWithLongNama!();
34    |     ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `FooWithLongNam`
35
36 error: cannot find derive macro `attr_proc_macra` in this scope
37   --> $DIR/resolve-error.rs:45:10
38    |
39 LL | #[derive(attr_proc_macra)]
40    |          ^^^^^^^^^^^^^^^
41
42 error: cannot find derive macro `attr_proc_macra` in this scope
43   --> $DIR/resolve-error.rs:45:10
44    |
45 LL | #[derive(attr_proc_macra)]
46    |          ^^^^^^^^^^^^^^^
47
48 error: cannot find derive macro `Dlona` in this scope
49   --> $DIR/resolve-error.rs:40:10
50    |
51 LL | #[derive(Dlona)]
52    |          ^^^^^ help: a derive macro with a similar name exists: `Clona`
53    |
54   ::: $DIR/auxiliary/derive-clona.rs:11:1
55    |
56 LL | pub fn derive_clonea(input: TokenStream) -> TokenStream {
57    | ------------------------------------------------------- similarly named derive macro `Clona` defined here
58
59 error: cannot find derive macro `Dlona` in this scope
60   --> $DIR/resolve-error.rs:40:10
61    |
62 LL | #[derive(Dlona)]
63    |          ^^^^^ help: a derive macro with a similar name exists: `Clona`
64    |
65   ::: $DIR/auxiliary/derive-clona.rs:11:1
66    |
67 LL | pub fn derive_clonea(input: TokenStream) -> TokenStream {
68    | ------------------------------------------------------- similarly named derive macro `Clona` defined here
69
70 error: cannot find derive macro `Dlone` in this scope
71   --> $DIR/resolve-error.rs:35:10
72    |
73 LL | #[derive(Dlone)]
74    |          ^^^^^ help: a derive macro with a similar name exists: `Clone`
75   --> $SRC_DIR/core/src/clone.rs:LL:COL
76    |
77    = note: similarly named derive macro `Clone` defined here
78
79 error: cannot find derive macro `Dlone` in this scope
80   --> $DIR/resolve-error.rs:35:10
81    |
82 LL | #[derive(Dlone)]
83    |          ^^^^^ help: a derive macro with a similar name exists: `Clone`
84   --> $SRC_DIR/core/src/clone.rs:LL:COL
85    |
86    = note: similarly named derive macro `Clone` defined here
87
88 error: cannot find attribute `FooWithLongNan` in this scope
89   --> $DIR/resolve-error.rs:32:3
90    |
91 LL | #[FooWithLongNan]
92    |   ^^^^^^^^^^^^^^
93
94 error: cannot find attribute `attr_proc_macra` in this scope
95   --> $DIR/resolve-error.rs:28:3
96    |
97 LL | #[attr_proc_macra]
98    |   ^^^^^^^^^^^^^^^ help: an attribute macro with a similar name exists: `attr_proc_macro`
99    |
100   ::: $DIR/auxiliary/test-macros.rs:20:1
101    |
102 LL | pub fn empty_attr(_: TokenStream, _: TokenStream) -> TokenStream {
103    | ---------------------------------------------------------------- similarly named attribute macro `attr_proc_macro` defined here
104
105 error: cannot find derive macro `FooWithLongNan` in this scope
106   --> $DIR/resolve-error.rs:22:10
107    |
108 LL | #[derive(FooWithLongNan)]
109    |          ^^^^^^^^^^^^^^ help: a derive macro with a similar name exists: `FooWithLongName`
110    |
111   ::: $DIR/auxiliary/derive-foo.rs:11:1
112    |
113 LL | pub fn derive_foo(input: TokenStream) -> TokenStream {
114    | ---------------------------------------------------- similarly named derive macro `FooWithLongName` defined here
115
116 error: cannot find derive macro `FooWithLongNan` in this scope
117   --> $DIR/resolve-error.rs:22:10
118    |
119 LL | #[derive(FooWithLongNan)]
120    |          ^^^^^^^^^^^^^^ help: a derive macro with a similar name exists: `FooWithLongName`
121    |
122   ::: $DIR/auxiliary/derive-foo.rs:11:1
123    |
124 LL | pub fn derive_foo(input: TokenStream) -> TokenStream {
125    | ---------------------------------------------------- similarly named derive macro `FooWithLongName` defined here
126
127 error: aborting due to 14 previous errors
128