]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/generate-mod.stderr
Rollup merge of #64895 - davidtwco:issue-64130-async-error-definition, r=nikomatsakis
[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    | ^^^^^^^^^^^^^^^^^^^^^^^
6    | |
7    | not found in this scope
8    | in this macro invocation
9
10 error[E0412]: cannot find type `Outer` in this scope
11   --> $DIR/generate-mod.rs:9:1
12    |
13 LL | generate_mod::check!();
14    | ^^^^^^^^^^^^^^^^^^^^^^^
15    | |
16    | not found in this scope
17    | in this macro invocation
18
19 error[E0412]: cannot find type `FromOutside` in this scope
20   --> $DIR/generate-mod.rs:12:1
21    |
22 LL | #[generate_mod::check_attr]
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
24
25 error[E0412]: cannot find type `OuterAttr` in this scope
26   --> $DIR/generate-mod.rs:12:1
27    |
28 LL | #[generate_mod::check_attr]
29    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
30
31 warning: cannot find type `FromOutside` in this scope
32   --> $DIR/generate-mod.rs:16:10
33    |
34 LL | #[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
41 warning: cannot find type `OuterDerive` 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    = 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
50 warning: cannot find type `FromOutside` in this scope
51   --> $DIR/generate-mod.rs:23:14
52    |
53 LL |     #[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
59 warning: cannot find type `OuterDerive` in this scope
60   --> $DIR/generate-mod.rs:23:14
61    |
62 LL |     #[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
68 error: aborting due to 4 previous errors
69
70 For more information about this error, try `rustc --explain E0412`.