|
1 | 1 | error: cannot find macro `test` in this scope
|
2 |
| - --> $DIR/issue-88206.rs:60:5 |
| 2 | + --> $DIR/issue-88206.rs:57:5 |
3 | 3 | |
|
4 | 4 | LL | test!();
|
5 | 5 | | ^^^^
|
6 | 6 | |
|
7 | 7 | = note: `test` is in scope, but it is an attribute
|
8 | 8 |
|
9 | 9 | error: cannot find macro `Copy` in this scope
|
10 |
| - --> $DIR/issue-88206.rs:56:5 |
| 10 | + --> $DIR/issue-88206.rs:53:5 |
11 | 11 | |
|
12 | 12 | LL | Copy!();
|
13 | 13 | | ^^^^
|
14 | 14 | |
|
15 | 15 | = note: `Copy` is in scope, but it is a derive macro
|
16 | 16 |
|
17 | 17 | error: cannot find macro `Box` in this scope
|
18 |
| - --> $DIR/issue-88206.rs:52:5 |
| 18 | + --> $DIR/issue-88206.rs:49:5 |
19 | 19 | |
|
20 | 20 | LL | Box!();
|
21 | 21 | | ^^^
|
22 | 22 | |
|
23 | 23 | = note: `Box` is in scope, but it is not a macro
|
24 | 24 |
|
25 | 25 | error: cannot find macro `from_utf8` in this scope
|
26 |
| - --> $DIR/issue-88206.rs:49:5 |
| 26 | + --> $DIR/issue-88206.rs:46:5 |
27 | 27 | |
|
28 | 28 | LL | from_utf8!();
|
29 | 29 | | ^^^^^^^^^
|
30 | 30 | |
|
31 | 31 | note: `from_utf8` is imported here, but it is not a macro
|
32 |
| - --> $DIR/issue-88206.rs:6:5 |
| 32 | + --> $DIR/issue-88206.rs:5:5 |
33 | 33 | |
|
34 | 34 | LL | use std::str::*;
|
35 | 35 | | ^^^^^^^^^^^
|
36 | 36 |
|
37 | 37 | error: cannot find attribute `println` in this scope
|
38 |
| - --> $DIR/issue-88206.rs:43:3 |
| 38 | + --> $DIR/issue-88206.rs:40:3 |
39 | 39 | |
|
40 | 40 | LL | #[println]
|
41 | 41 | | ^^^^^^^
|
42 | 42 | |
|
43 | 43 | = note: `println` is in scope, but it is a function-like macro
|
44 | 44 |
|
45 | 45 | error: cannot find attribute `from_utf8_unchecked` in this scope
|
46 |
| - --> $DIR/issue-88206.rs:39:3 |
| 46 | + --> $DIR/issue-88206.rs:36:3 |
47 | 47 | |
|
48 | 48 | LL | #[from_utf8_unchecked]
|
49 | 49 | | ^^^^^^^^^^^^^^^^^^^
|
50 | 50 | |
|
51 | 51 | note: `from_utf8_unchecked` is imported here, but it is not an attribute
|
52 |
| - --> $DIR/issue-88206.rs:6:5 |
| 52 | + --> $DIR/issue-88206.rs:5:5 |
53 | 53 | |
|
54 | 54 | LL | use std::str::*;
|
55 | 55 | | ^^^^^^^^^^^
|
56 | 56 |
|
57 | 57 | error: cannot find attribute `Deserialize` in this scope
|
58 |
| - --> $DIR/issue-88206.rs:35:3 |
| 58 | + --> $DIR/issue-88206.rs:32:3 |
59 | 59 | |
|
60 | 60 | LL | #[Deserialize]
|
61 | 61 | | ^^^^^^^^^^^
|
62 | 62 | |
|
63 | 63 | note: `Deserialize` is imported here, but it is not an attribute
|
64 |
| - --> $DIR/issue-88206.rs:17:22 |
| 64 | + --> $DIR/issue-88206.rs:15:22 |
65 | 65 | |
|
66 | 66 | LL | use hey::{Serialize, Deserialize};
|
67 | 67 | | ^^^^^^^^^^^
|
68 | 68 |
|
69 | 69 | error: cannot find derive macro `println` in this scope
|
70 |
| - --> $DIR/issue-88206.rs:30:10 |
| 70 | + --> $DIR/issue-88206.rs:27:10 |
71 | 71 | |
|
72 | 72 | LL | #[derive(println)]
|
73 | 73 | | ^^^^^^^
|
74 | 74 | |
|
75 | 75 | = note: `println` is in scope, but it is a function-like macro
|
76 | 76 |
|
77 | 77 | error: cannot find derive macro `from_utf8_mut` in this scope
|
78 |
| - --> $DIR/issue-88206.rs:26:10 |
| 78 | + --> $DIR/issue-88206.rs:23:10 |
79 | 79 | |
|
80 | 80 | LL | #[derive(from_utf8_mut)]
|
81 | 81 | | ^^^^^^^^^^^^^
|
82 | 82 | |
|
83 | 83 | note: `from_utf8_mut` is imported here, but it is not a derive macro
|
84 |
| - --> $DIR/issue-88206.rs:6:5 |
| 84 | + --> $DIR/issue-88206.rs:5:5 |
85 | 85 | |
|
86 | 86 | LL | use std::str::*;
|
87 | 87 | | ^^^^^^^^^^^
|
88 | 88 |
|
89 | 89 | error: cannot find derive macro `Serialize` in this scope
|
90 |
| - --> $DIR/issue-88206.rs:22:10 |
| 90 | + --> $DIR/issue-88206.rs:19:10 |
91 | 91 | |
|
92 | 92 | LL | #[derive(Serialize)]
|
93 | 93 | | ^^^^^^^^^
|
94 | 94 | |
|
95 | 95 | note: `Serialize` is imported here, but it is not a derive macro
|
96 |
| - --> $DIR/issue-88206.rs:17:11 |
| 96 | + --> $DIR/issue-88206.rs:15:11 |
97 | 97 | |
|
98 | 98 | LL | use hey::{Serialize, Deserialize};
|
99 | 99 | | ^^^^^^^^^
|
100 | 100 |
|
101 |
| -warning: unused import: `std::str::*` |
102 |
| - --> $DIR/issue-88206.rs:6:5 |
103 |
| - | |
104 |
| -LL | use std::str::*; |
105 |
| - | ^^^^^^^^^^^ |
106 |
| - | |
107 |
| -note: the lint level is defined here |
108 |
| - --> $DIR/issue-88206.rs:3:9 |
109 |
| - | |
110 |
| -LL | #![warn(unused_imports)] |
111 |
| - | ^^^^^^^^^^^^^^ |
112 |
| - |
113 |
| -warning: unused imports: `Deserialize`, `Serialize` |
114 |
| - --> $DIR/issue-88206.rs:17:11 |
115 |
| - | |
116 |
| -LL | use hey::{Serialize, Deserialize}; |
117 |
| - | ^^^^^^^^^ ^^^^^^^^^^^ |
118 |
| - |
119 |
| -error: aborting due to 10 previous errors; 2 warnings emitted |
| 101 | +error: aborting due to 10 previous errors |
120 | 102 |
|
0 commit comments