]> git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/resolve-error.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / proc-macro / resolve-error.stderr
1 error: cannot find macro `bang_proc_macrp` in this scope
2 --> $DIR/resolve-error.rs:60:5
3 |
4 LL | bang_proc_macrp!();
5 | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `bang_proc_macro`
6 |
7 ::: $DIR/auxiliary/test-macros.rs:15:1
8 |
9 LL | pub fn empty(_: TokenStream) -> TokenStream {
10 | ------------------------------------------- similarly named macro `bang_proc_macro` defined here
11
12 error: cannot find macro `Dlona` in this scope
13 --> $DIR/resolve-error.rs:57:5
14 |
15 LL | Dlona!();
16 | ^^^^^
17
18 error: cannot find macro `attr_proc_macra` in this scope
19 --> $DIR/resolve-error.rs:54:5
20 |
21 LL | macro_rules! attr_proc_mac {
22 | -------------------------- similarly named macro `attr_proc_mac` defined here
23 ...
24 LL | attr_proc_macra!();
25 | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `attr_proc_mac`
26
27 error: cannot find macro `FooWithLongNama` in this scope
28 --> $DIR/resolve-error.rs:51:5
29 |
30 LL | macro_rules! FooWithLongNam {
31 | --------------------------- similarly named macro `FooWithLongNam` defined here
32 ...
33 LL | FooWithLongNama!();
34 | ^^^^^^^^^^^^^^^ help: a macro with a similar name exists: `FooWithLongNam`
35
36 error: cannot find derive macro `attr_proc_macra` in this scope
37 --> $DIR/resolve-error.rs:45:10
38 |
39 LL | #[derive(attr_proc_macra)]
40 | ^^^^^^^^^^^^^^^
41
42 error: cannot find derive macro `attr_proc_macra` in this scope
43 --> $DIR/resolve-error.rs:45:10
44 |
45 LL | #[derive(attr_proc_macra)]
46 | ^^^^^^^^^^^^^^^
47
48 error: cannot find derive macro `Dlona` in this scope
49 --> $DIR/resolve-error.rs:40:10
50 |
51 LL | #[derive(Dlona)]
52 | ^^^^^ help: a derive macro with a similar name exists: `Clona`
53 |
54 ::: $DIR/auxiliary/derive-clona.rs:11:1
55 |
56 LL | pub fn derive_clonea(input: TokenStream) -> TokenStream {
57 | ------------------------------------------------------- similarly named derive macro `Clona` defined here
58
59 error: cannot find derive macro `Dlona` in this scope
60 --> $DIR/resolve-error.rs:40:10
61 |
62 LL | #[derive(Dlona)]
63 | ^^^^^ help: a derive macro with a similar name exists: `Clona`
64 |
65 ::: $DIR/auxiliary/derive-clona.rs:11:1
66 |
67 LL | pub fn derive_clonea(input: TokenStream) -> TokenStream {
68 | ------------------------------------------------------- similarly named derive macro `Clona` defined here
69
70 error: cannot find derive macro `Dlone` in this scope
71 --> $DIR/resolve-error.rs:35:10
72 |
73 LL | #[derive(Dlone)]
74 | ^^^^^ help: a derive macro with a similar name exists: `Clone`
75 |
76 ::: $SRC_DIR/libcore/clone.rs:LL:COL
77 |
78 LL | pub macro Clone($item:item) {
79 | --------------------------- similarly named derive macro `Clone` defined here
80
81 error: cannot find derive macro `Dlone` in this scope
82 --> $DIR/resolve-error.rs:35:10
83 |
84 LL | #[derive(Dlone)]
85 | ^^^^^ help: a derive macro with a similar name exists: `Clone`
86 |
87 ::: $SRC_DIR/libcore/clone.rs:LL:COL
88 |
89 LL | pub macro Clone($item:item) {
90 | --------------------------- similarly named derive macro `Clone` defined here
91
92 error: cannot find attribute `FooWithLongNan` in this scope
93 --> $DIR/resolve-error.rs:32:3
94 |
95 LL | #[FooWithLongNan]
96 | ^^^^^^^^^^^^^^
97
98 error: cannot find attribute `attr_proc_macra` in this scope
99 --> $DIR/resolve-error.rs:28:3
100 |
101 LL | #[attr_proc_macra]
102 | ^^^^^^^^^^^^^^^ help: an attribute macro with a similar name exists: `attr_proc_macro`
103 |
104 ::: $DIR/auxiliary/test-macros.rs:20:1
105 |
106 LL | pub fn empty_attr(_: TokenStream, _: TokenStream) -> TokenStream {
107 | ---------------------------------------------------------------- similarly named attribute macro `attr_proc_macro` defined here
108
109 error: cannot find derive macro `FooWithLongNan` in this scope
110 --> $DIR/resolve-error.rs:22:10
111 |
112 LL | #[derive(FooWithLongNan)]
113 | ^^^^^^^^^^^^^^ help: a derive macro with a similar name exists: `FooWithLongName`
114 |
115 ::: $DIR/auxiliary/derive-foo.rs:11:1
116 |
117 LL | pub fn derive_foo(input: TokenStream) -> TokenStream {
118 | ---------------------------------------------------- similarly named derive macro `FooWithLongName` defined here
119
120 error: cannot find derive macro `FooWithLongNan` in this scope
121 --> $DIR/resolve-error.rs:22:10
122 |
123 LL | #[derive(FooWithLongNan)]
124 | ^^^^^^^^^^^^^^ help: a derive macro with a similar name exists: `FooWithLongName`
125 |
126 ::: $DIR/auxiliary/derive-foo.rs:11:1
127 |
128 LL | pub fn derive_foo(input: TokenStream) -> TokenStream {
129 | ---------------------------------------------------- similarly named derive macro `FooWithLongName` defined here
130
131 error: aborting due to 14 previous errors
132