fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
2.9 KiB70 linesraw
1error[E0412]: cannot find type `FromOutside` in this scope
2  --> $DIR/generate-mod.rs:9:1
3   |
4LL | generate_mod::check!();
5   | ^^^^^^^^^^^^^^^^^^^^^^^
6   | |
7   | not found in this scope
8   | in this macro invocation
9
10error[E0412]: cannot find type `Outer` in this scope
11  --> $DIR/generate-mod.rs:9:1
12   |
13LL | generate_mod::check!();
14   | ^^^^^^^^^^^^^^^^^^^^^^^
15   | |
16   | not found in this scope
17   | in this macro invocation
18
19error[E0412]: cannot find type `FromOutside` in this scope
20  --> $DIR/generate-mod.rs:12:1
21   |
22LL | #[generate_mod::check_attr]
23   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
24
25error[E0412]: cannot find type `OuterAttr` in this scope
26  --> $DIR/generate-mod.rs:12:1
27   |
28LL | #[generate_mod::check_attr]
29   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
30
31warning: cannot find type `FromOutside` in this scope
32  --> $DIR/generate-mod.rs:16:10
33   |
34LL | #[derive(generate_mod::CheckDerive)]
35   |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
36   |
37   = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default
38   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
39   = note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
40
41warning: cannot find type `OuterDerive` 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 #50504 <https://github.com/rust-lang/rust/issues/50504>
49
50warning: cannot find type `FromOutside` in this scope
51  --> $DIR/generate-mod.rs:23:14
52   |
53LL |     #[derive(generate_mod::CheckDerive)]
54   |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
55   |
56   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
57   = note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
58
59warning: cannot find type `OuterDerive` in this scope
60  --> $DIR/generate-mod.rs:23:14
61   |
62LL |     #[derive(generate_mod::CheckDerive)]
63   |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
64   |
65   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
66   = note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
67
68error: aborting due to 4 previous errors
69
70For more information about this error, try `rustc --explain E0412`.