11error: cannot find macro `bang_proc_macrp` in this scope
22 --> $DIR/resolve-error.rs:60:5
33 |
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`
66 |
77 ::: $DIR/auxiliary/test-macros.rs:15:1
88 |
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
1311
1412error: cannot find macro `Dlona` in this scope
1513 --> $DIR/resolve-error.rs:57:5
@@ -60,15 +58,13 @@ LL | #[derive(Dlona)]
6058error: cannot find derive macro `Dlona` in this scope
6159 --> $DIR/resolve-error.rs:40:10
6260 |
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`
6563 |
6664 ::: $DIR/auxiliary/derive-clona.rs:11:1
6765 |
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
7268
7369error: cannot find derive macro `Dlone` in this scope
7470 --> $DIR/resolve-error.rs:35:10
@@ -85,7 +81,7 @@ LL | #[derive(Dlone)]
8581 ::: $SRC_DIR/libcore/clone.rs:LL:COL
8682 |
8783LL | pub macro Clone($item:item) { /* compiler built-in */ }
88- | ------------------------------------------------------- similarly named derive macro `Clone` defined here
84+ | --------------------------- similarly named derive macro `Clone` defined here
8985
9086error: cannot find attribute `FooWithLongNan` in this scope
9187 --> $DIR/resolve-error.rs:32:3
@@ -96,28 +92,24 @@ LL | #[FooWithLongNan]
9692error: cannot find attribute `attr_proc_macra` in this scope
9793 --> $DIR/resolve-error.rs:28:3
9894 |
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`
10197 |
10298 ::: $DIR/auxiliary/test-macros.rs:20:1
10399 |
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
108102
109103error: cannot find derive macro `FooWithLongNan` in this scope
110104 --> $DIR/resolve-error.rs:22:10
111105 |
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`
114108 |
115109 ::: $DIR/auxiliary/derive-foo.rs:11:1
116110 |
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
121113
122114error: cannot find derive macro `FooWithLongNan` in this scope
123115 --> $DIR/resolve-error.rs:22:10
0 commit comments