summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-88206.stderr
blob: f7f5b564880075c9b676da0b544accbbac194092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
error: cannot find macro `X` in this scope
  --> $DIR/issue-88206.rs:64:5
   |
LL |     X!();
   |     ^
   |
note: `X` is imported here, but it is a struct, not a macro
  --> $DIR/issue-88206.rs:17:35
   |
LL | use hey::{Serialize, Deserialize, X};
   |                                   ^

error: cannot find macro `test` in this scope
  --> $DIR/issue-88206.rs:60:5
   |
LL |     test!();
   |     ^^^^
   |
   = note: `test` is in scope, but it is an attribute: `#[test]`

error: cannot find macro `Copy` in this scope
  --> $DIR/issue-88206.rs:56:5
   |
LL |     Copy!();
   |     ^^^^
   |
   = note: `Copy` is in scope, but it is a derive macro: `#[derive(Copy)]`

error: cannot find macro `Box` in this scope
  --> $DIR/issue-88206.rs:52:5
   |
LL |     Box!();
   |     ^^^
   |
   = note: `Box` is in scope, but it is a struct, not a macro

error: cannot find macro `from_utf8` in this scope
  --> $DIR/issue-88206.rs:49:5
   |
LL |     from_utf8!();
   |     ^^^^^^^^^
   |
note: `from_utf8` is imported here, but it is a function, not a macro
  --> $DIR/issue-88206.rs:5:5
   |
LL | use std::str::*;
   |     ^^^^^^^^^^^

error: cannot find attribute `println` in this scope
  --> $DIR/issue-88206.rs:43:3
   |
LL | #[println]
   |   ^^^^^^^
   |
   = note: `println` is in scope, but it is a function-like macro

error: cannot find attribute `from_utf8_unchecked` in this scope
  --> $DIR/issue-88206.rs:39:3
   |
LL | #[from_utf8_unchecked]
   |   ^^^^^^^^^^^^^^^^^^^
   |
note: `from_utf8_unchecked` is imported here, but it is a function, not an attribute
  --> $DIR/issue-88206.rs:5:5
   |
LL | use std::str::*;
   |     ^^^^^^^^^^^

error: cannot find attribute `Deserialize` in this scope
  --> $DIR/issue-88206.rs:35:3
   |
LL | #[Deserialize]
   |   ^^^^^^^^^^^
   |
note: `Deserialize` is imported here, but it is a trait, not an attribute
  --> $DIR/issue-88206.rs:17:22
   |
LL | use hey::{Serialize, Deserialize, X};
   |                      ^^^^^^^^^^^

error: cannot find derive macro `println` in this scope
  --> $DIR/issue-88206.rs:30:10
   |
LL | #[derive(println)]
   |          ^^^^^^^
   |
   = note: `println` is in scope, but it is a function-like macro

error: cannot find derive macro `from_utf8_mut` in this scope
  --> $DIR/issue-88206.rs:26:10
   |
LL | #[derive(from_utf8_mut)]
   |          ^^^^^^^^^^^^^
   |
note: `from_utf8_mut` is imported here, but it is a function, not a derive macro
  --> $DIR/issue-88206.rs:5:5
   |
LL | use std::str::*;
   |     ^^^^^^^^^^^

error: cannot find derive macro `Serialize` in this scope
  --> $DIR/issue-88206.rs:22:10
   |
LL | #[derive(Serialize)]
   |          ^^^^^^^^^
   |
note: `Serialize` is imported here, but it is only a trait, without a derive macro
  --> $DIR/issue-88206.rs:17:11
   |
LL | use hey::{Serialize, Deserialize, X};
   |           ^^^^^^^^^

error: aborting due to 11 previous errors