1
1
error: cannot find macro `bang_proc_macrp` in this scope
2
2
--> $DIR/resolve-error.rs:60:5
3
3
|
4
- LL | bang_proc_macrp!();
5
- | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `bang_proc_macro`
4
+ LL | bang_proc_macrp!();
5
+ | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `bang_proc_macro`
6
6
|
7
7
::: $DIR/auxiliary/test-macros.rs:15:1
8
8
|
9
- LL | / pub fn empty(_: TokenStream) -> TokenStream {
10
- LL | | TokenStream::new()
11
- LL | | }
12
- | |_- similarly named macro `bang_proc_macro` defined here
9
+ LL | pub fn empty(_: TokenStream) -> TokenStream {
10
+ | ------------------------------------------- similarly named macro `bang_proc_macro` defined here
13
11
14
12
error: cannot find macro `Dlona` in this scope
15
13
--> $DIR/resolve-error.rs:57:5
@@ -60,15 +58,13 @@ LL | #[derive(Dlona)]
60
58
error: cannot find derive macro `Dlona` in this scope
61
59
--> $DIR/resolve-error.rs:40:10
62
60
|
63
- LL | #[derive(Dlona)]
64
- | ^^^^^ help: a derive macro with a similar name exists: `Clona`
61
+ LL | #[derive(Dlona)]
62
+ | ^^^^^ help: a derive macro with a similar name exists: `Clona`
65
63
|
66
64
::: $DIR/auxiliary/derive-clona.rs:11:1
67
65
|
68
- LL | / pub fn derive_clonea(input: TokenStream) -> TokenStream {
69
- LL | | "".parse().unwrap()
70
- LL | | }
71
- | |_- similarly named derive macro `Clona` defined here
66
+ LL | pub fn derive_clonea(input: TokenStream) -> TokenStream {
67
+ | ------------------------------------------------------- similarly named derive macro `Clona` defined here
72
68
73
69
error: cannot find derive macro `Dlone` in this scope
74
70
--> $DIR/resolve-error.rs:35:10
@@ -85,7 +81,7 @@ LL | #[derive(Dlone)]
85
81
::: $SRC_DIR/libcore/clone.rs:LL:COL
86
82
|
87
83
LL | pub macro Clone($item:item) { /* compiler built-in */ }
88
- | ------------------------------------------------------- similarly named derive macro `Clone` defined here
84
+ | --------------------------- similarly named derive macro `Clone` defined here
89
85
90
86
error: cannot find attribute `FooWithLongNan` in this scope
91
87
--> $DIR/resolve-error.rs:32:3
@@ -96,28 +92,24 @@ LL | #[FooWithLongNan]
96
92
error: cannot find attribute `attr_proc_macra` in this scope
97
93
--> $DIR/resolve-error.rs:28:3
98
94
|
99
- LL | #[attr_proc_macra]
100
- | ^^^^^^^^^^^^^^^ help: an attribute macro with a similar name exists: `attr_proc_macro`
95
+ LL | #[attr_proc_macra]
96
+ | ^^^^^^^^^^^^^^^ help: an attribute macro with a similar name exists: `attr_proc_macro`
101
97
|
102
98
::: $DIR/auxiliary/test-macros.rs:20:1
103
99
|
104
- LL | / pub fn empty_attr(_: TokenStream, _: TokenStream) -> TokenStream {
105
- LL | | TokenStream::new()
106
- LL | | }
107
- | |_- similarly named attribute macro `attr_proc_macro` defined here
100
+ LL | pub fn empty_attr(_: TokenStream, _: TokenStream) -> TokenStream {
101
+ | ---------------------------------------------------------------- similarly named attribute macro `attr_proc_macro` defined here
108
102
109
103
error: cannot find derive macro `FooWithLongNan` in this scope
110
104
--> $DIR/resolve-error.rs:22:10
111
105
|
112
- LL | #[derive(FooWithLongNan)]
113
- | ^^^^^^^^^^^^^^ help: a derive macro with a similar name exists: `FooWithLongName`
106
+ LL | #[derive(FooWithLongNan)]
107
+ | ^^^^^^^^^^^^^^ help: a derive macro with a similar name exists: `FooWithLongName`
114
108
|
115
109
::: $DIR/auxiliary/derive-foo.rs:11:1
116
110
|
117
- LL | / pub fn derive_foo(input: TokenStream) -> TokenStream {
118
- LL | | "".parse().unwrap()
119
- LL | | }
120
- | |_- similarly named derive macro `FooWithLongName` defined here
111
+ LL | pub fn derive_foo(input: TokenStream) -> TokenStream {
112
+ | ---------------------------------------------------- similarly named derive macro `FooWithLongName` defined here
121
113
122
114
error: cannot find derive macro `FooWithLongNan` in this scope
123
115
--> $DIR/resolve-error.rs:22:10
0 commit comments