fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
8.8 KiB164 linesraw
1error[E0412]: cannot find type `FromOutside` in this scope
2  --> $DIR/generate-mod.rs:9:1
3   |
4LL | generate_mod::check!();
5   | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
6   |
7   = help: 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
11error[E0412]: cannot find type `Outer` in this scope
12  --> $DIR/generate-mod.rs:9:1
13   |
14LL | generate_mod::check!();
15   | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
16   |
17   = help: 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
21error[E0412]: cannot find type `FromOutside` in this scope
22  --> $DIR/generate-mod.rs:12:1
23   |
24LL | #[generate_mod::check_attr]
25   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
26   |
27   = help: 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
31error[E0412]: cannot find type `OuterAttr` in this scope
32  --> $DIR/generate-mod.rs:12:1
33   |
34LL | #[generate_mod::check_attr]
35   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
36   |
37   = help: 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
41error: cannot find type `FromOutside` in this scope
42  --> $DIR/generate-mod.rs:16:10
43   |
44LL | #[derive(generate_mod::CheckDerive)]
45   |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
46   |
47   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
48   = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
49   = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
50   = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
51
52error: cannot find type `OuterDerive` in this scope
53  --> $DIR/generate-mod.rs:16:10
54   |
55LL | #[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
62error: cannot find type `FromOutside` in this scope
63  --> $DIR/generate-mod.rs:23:14
64   |
65LL |     #[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
72error: cannot find type `OuterDerive` in this scope
73  --> $DIR/generate-mod.rs:23:14
74   |
75LL |     #[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
82error: aborting due to 8 previous errors
83
84For more information about this error, try `rustc --explain E0412`.
85Future incompatibility report: Future breakage diagnostic:
86error: cannot find type `FromOutside` in this scope
87  --> $DIR/generate-mod.rs:16:10
88   |
89LL | #[derive(generate_mod::CheckDerive)]
90   |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
91   |
92   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
93   = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
94   = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
95   = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
96
97Future breakage diagnostic:
98error: cannot find type `OuterDerive` in this scope
99  --> $DIR/generate-mod.rs:16:10
100   |
101LL | #[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: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
107   = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
108
109Future breakage diagnostic:
110error: cannot find type `FromOutside` in this scope
111  --> $DIR/generate-mod.rs:23:14
112   |
113LL |     #[derive(generate_mod::CheckDerive)]
114   |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
115   |
116   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
117   = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
118   = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
119   = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
120
121Future breakage diagnostic:
122error: cannot find type `OuterDerive` in this scope
123  --> $DIR/generate-mod.rs:23:14
124   |
125LL |     #[derive(generate_mod::CheckDerive)]
126   |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
127   |
128   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
129   = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
130   = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
131   = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
132
133Future breakage diagnostic:
134warning: cannot find type `FromOutside` in this scope
135  --> $DIR/generate-mod.rs:30:10
136   |
137LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
138   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
139   |
140   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
141   = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
142note: the lint level is defined here
143  --> $DIR/generate-mod.rs:30:10
144   |
145LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
146   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
147   = note: this warning originates in the derive macro `generate_mod::CheckDeriveLint` (in Nightly builds, run with -Z macro-backtrace for more info)
148
149Future breakage diagnostic:
150warning: cannot find type `OuterDeriveLint` in this scope
151  --> $DIR/generate-mod.rs:30:10
152   |
153LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
154   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
155   |
156   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
157   = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
158note: the lint level is defined here
159  --> $DIR/generate-mod.rs:30:10
160   |
161LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
162   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
163   = note: this warning originates in the derive macro `generate_mod::CheckDeriveLint` (in Nightly builds, run with -Z macro-backtrace for more info)
164