@@ -4,7 +4,7 @@ error: cannot find macro `X` in this scope
4
4
LL | X!();
5
5
| ^
6
6
|
7
- note: `X` is imported here, but it is a struct
7
+ note: `X` is imported here, but it is a struct, not a macro
8
8
--> $DIR/issue-88206.rs:17:35
9
9
|
10
10
LL | use hey::{Serialize, Deserialize, X};
@@ -32,15 +32,15 @@ error: cannot find macro `Box` in this scope
32
32
LL | Box!();
33
33
| ^^^
34
34
|
35
- = note: `Box` is in scope, but it is a struct
35
+ = note: `Box` is in scope, but it is a struct, not a macro
36
36
37
37
error: cannot find macro `from_utf8` in this scope
38
38
--> $DIR/issue-88206.rs:49:5
39
39
|
40
40
LL | from_utf8!();
41
41
| ^^^^^^^^^
42
42
|
43
- note: `from_utf8` is imported here, but it is a function
43
+ note: `from_utf8` is imported here, but it is a function, not a macro
44
44
--> $DIR/issue-88206.rs:5:5
45
45
|
46
46
LL | use std::str::*;
@@ -60,7 +60,7 @@ error: cannot find attribute `from_utf8_unchecked` in this scope
60
60
LL | #[from_utf8_unchecked]
61
61
| ^^^^^^^^^^^^^^^^^^^
62
62
|
63
- note: `from_utf8_unchecked` is imported here, but it is a function
63
+ note: `from_utf8_unchecked` is imported here, but it is a function, not an attribute
64
64
--> $DIR/issue-88206.rs:5:5
65
65
|
66
66
LL | use std::str::*;
@@ -72,7 +72,7 @@ error: cannot find attribute `Deserialize` in this scope
72
72
LL | #[Deserialize]
73
73
| ^^^^^^^^^^^
74
74
|
75
- note: `Deserialize` is imported here, but it is a trait
75
+ note: `Deserialize` is imported here, but it is a trait, not an attribute
76
76
--> $DIR/issue-88206.rs:17:22
77
77
|
78
78
LL | use hey::{Serialize, Deserialize, X};
@@ -92,7 +92,7 @@ error: cannot find derive macro `from_utf8_mut` in this scope
92
92
LL | #[derive(from_utf8_mut)]
93
93
| ^^^^^^^^^^^^^
94
94
|
95
- note: `from_utf8_mut` is imported here, but it is a function
95
+ note: `from_utf8_mut` is imported here, but it is a function, not a derive macro
96
96
--> $DIR/issue-88206.rs:5:5
97
97
|
98
98
LL | use std::str::*;
@@ -104,7 +104,7 @@ error: cannot find derive macro `Serialize` in this scope
104
104
LL | #[derive(Serialize)]
105
105
| ^^^^^^^^^
106
106
|
107
- note: `Serialize` is imported here, but it is a trait
107
+ note: `Serialize` is imported here, but it is a trait, not a derive macro
108
108
--> $DIR/issue-88206.rs:17:11
109
109
|
110
110
LL | use hey::{Serialize, Deserialize, X};
0 commit comments