]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/local-modularized-tricky-fail-2.stderr
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / imports / local-modularized-tricky-fail-2.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-2.rs:13: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-2.rs:5:5
12    |
13 LL | /     macro_rules! exported {
14 LL | |         () => ()
15 LL | |     }
16    | |_____^
17 ...
18 LL |   define_exported!();
19    |   ------------------ in this macro invocation
20    = note: this error originates in the macro `define_exported` (in Nightly builds, run with -Z macro-backtrace for more info)
21
22 error: macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths
23   --> $DIR/local-modularized-tricky-fail-2.rs:19:5
24    |
25 LL |     ::exported!();
26    |     ^^^^^^^^^^
27    |
28    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
29    = note: for more information, see issue #52234 <https://github.com/rust-lang/rust/issues/52234>
30 note: the macro is defined here
31   --> $DIR/local-modularized-tricky-fail-2.rs:5:5
32    |
33 LL | /     macro_rules! exported {
34 LL | |         () => ()
35 LL | |     }
36    | |_____^
37 ...
38 LL |   define_exported!();
39    |   ------------------ in this macro invocation
40    = note: this error originates in the macro `define_exported` (in Nightly builds, run with -Z macro-backtrace for more info)
41
42 error: aborting due to 2 previous errors
43