fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
1.6 KiB47 linesraw
1error[E0425]: cannot find value `n` in this scope
2  --> $DIR/issue-15167.rs:3:25
3   |
4LL | macro_rules! f { () => (n) }
5   |                         ^ not found in this scope
6...
7LL |         println!("{}", f!());
8   |                        ---- in this macro invocation
9   |
10   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12error[E0425]: cannot find value `n` in this scope
13  --> $DIR/issue-15167.rs:3:25
14   |
15LL | macro_rules! f { () => (n) }
16   |                         ^ not found in this scope
17...
18LL |         println!("{}", f!());
19   |                        ---- in this macro invocation
20   |
21   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
22
23error[E0425]: cannot find value `n` in this scope
24  --> $DIR/issue-15167.rs:3:25
25   |
26LL | macro_rules! f { () => (n) }
27   |                         ^ not found in this scope
28...
29LL |         println!("{}", f!());
30   |                        ---- in this macro invocation
31   |
32   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
33
34error[E0425]: cannot find value `n` in this scope
35  --> $DIR/issue-15167.rs:3:25
36   |
37LL | macro_rules! f { () => (n) }
38   |                         ^ not found in this scope
39...
40LL |         println!("{}", f!());
41   |                        ---- in this macro invocation
42   |
43   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
44
45error: aborting due to 4 previous errors
46
47For more information about this error, try `rustc --explain E0425`.