]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/local-modularized-tricky-fail-3.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / imports / local-modularized-tricky-fail-3.stderr
1 error: macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths
2   --> $DIR/local-modularized-tricky-fail-3.rs:23:9
3    |
4 LL |     use exported;
5    |         ^^^^^^^^
6    |
7    = note: #[deny(macro_expanded_macro_exports_accessed_by_absolute_paths)] on by default
8    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9    = note: for more information, see issue #52234 <https://github.com/rust-lang/rust/issues/52234>
10 note: the macro is defined here
11   --> $DIR/local-modularized-tricky-fail-3.rs:15:5
12    |
13 LL | /     macro_rules! exported {
14 LL | |         () => ()
15 LL | |     }
16    | |_____^
17 ...
18 LL |   define_exported!();
19    |   ------------------- in this macro invocation
20
21 error: macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths
22   --> $DIR/local-modularized-tricky-fail-3.rs:29:5
23    |
24 LL |     ::exported!();
25    |     ^^^^^^^^^^
26    |
27    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
28    = note: for more information, see issue #52234 <https://github.com/rust-lang/rust/issues/52234>
29 note: the macro is defined here
30   --> $DIR/local-modularized-tricky-fail-3.rs:15:5
31    |
32 LL | /     macro_rules! exported {
33 LL | |         () => ()
34 LL | |     }
35    | |_____^
36 ...
37 LL |   define_exported!();
38    |   ------------------- in this macro invocation
39
40 error: aborting due to 2 previous errors
41