fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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