]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/generate-mod.stderr
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[rust.git] / src / test / ui / proc-macro / generate-mod.stderr
1 error[E0412]: cannot find type `FromOutside` in this scope
2   --> $DIR/generate-mod.rs:9:1
3    |
4 LL | generate_mod::check!();
5    | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
6    |
7    = note: consider importing this struct:
8            FromOutside
9    = note: this error originates in the macro `generate_mod::check` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error[E0412]: cannot find type `Outer` in this scope
12   --> $DIR/generate-mod.rs:9:1
13    |
14 LL | generate_mod::check!();
15    | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
16    |
17    = note: consider importing this struct:
18            Outer
19    = note: this error originates in the macro `generate_mod::check` (in Nightly builds, run with -Z macro-backtrace for more info)
20
21 error[E0412]: cannot find type `FromOutside` in this scope
22   --> $DIR/generate-mod.rs:12:1
23    |
24 LL | #[generate_mod::check_attr]
25    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
26    |
27    = note: consider importing this struct:
28            FromOutside
29    = note: this error originates in the attribute macro `generate_mod::check_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
30
31 error[E0412]: cannot find type `OuterAttr` in this scope
32   --> $DIR/generate-mod.rs:12:1
33    |
34 LL | #[generate_mod::check_attr]
35    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
36    |
37    = note: consider importing this struct:
38            OuterAttr
39    = note: this error originates in the attribute macro `generate_mod::check_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
40
41 error: cannot find type `FromOutside` in this scope
42   --> $DIR/generate-mod.rs:16:10
43    |
44 LL | #[derive(generate_mod::CheckDerive)]
45    |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
46    |
47    = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
48    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
50    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
51
52 error: cannot find type `OuterDerive` in this scope
53   --> $DIR/generate-mod.rs:16:10
54    |
55 LL | #[derive(generate_mod::CheckDerive)]
56    |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
57    |
58    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
59    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
60    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
61
62 error: cannot find type `FromOutside` in this scope
63   --> $DIR/generate-mod.rs:23:14
64    |
65 LL |     #[derive(generate_mod::CheckDerive)]
66    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
67    |
68    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
69    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
70    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
71
72 error: cannot find type `OuterDerive` in this scope
73   --> $DIR/generate-mod.rs:23:14
74    |
75 LL |     #[derive(generate_mod::CheckDerive)]
76    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
77    |
78    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
79    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
80    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
81
82 error: aborting due to 8 previous errors
83
84 For more information about this error, try `rustc --explain E0412`.
85 Future incompatibility report: Future breakage diagnostic:
86 error: cannot find type `FromOutside` in this scope
87   --> $DIR/generate-mod.rs:16:10
88    |
89 LL | #[derive(generate_mod::CheckDerive)]
90    |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
91    |
92    = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
93    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
94    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
95    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
96
97 Future breakage diagnostic:
98 error: cannot find type `OuterDerive` in this scope
99   --> $DIR/generate-mod.rs:16:10
100    |
101 LL | #[derive(generate_mod::CheckDerive)]
102    |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
103    |
104    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
105    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
106    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
107
108 Future breakage diagnostic:
109 error: cannot find type `FromOutside` in this scope
110   --> $DIR/generate-mod.rs:23:14
111    |
112 LL |     #[derive(generate_mod::CheckDerive)]
113    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
114    |
115    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
116    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
117    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
118
119 Future breakage diagnostic:
120 error: cannot find type `OuterDerive` in this scope
121   --> $DIR/generate-mod.rs:23:14
122    |
123 LL |     #[derive(generate_mod::CheckDerive)]
124    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
125    |
126    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
127    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
128    = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
129
130 Future breakage diagnostic:
131 warning: cannot find type `FromOutside` in this scope
132   --> $DIR/generate-mod.rs:30:10
133    |
134 LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
135    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
136    |
137 note: the lint level is defined here
138   --> $DIR/generate-mod.rs:30:10
139    |
140 LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
141    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
142    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
143    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
144    = note: this warning originates in the derive macro `generate_mod::CheckDeriveLint` (in Nightly builds, run with -Z macro-backtrace for more info)
145
146 Future breakage diagnostic:
147 warning: cannot find type `OuterDeriveLint` in this scope
148   --> $DIR/generate-mod.rs:30:10
149    |
150 LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
151    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
152    |
153    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
154    = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
155    = note: this warning originates in the derive macro `generate_mod::CheckDeriveLint` (in Nightly builds, run with -Z macro-backtrace for more info)
156