]> git.lizzy.rs Git - rust.git/blob - src/test/ui/quote-with-interpolated.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / quote-with-interpolated.stderr
1 error: quote! with interpolated token
2   --> $DIR/quote-with-interpolated.rs:5:29
3    |
4 LL |             quote_expr!(cx, $bar)
5    |                             ^^^^
6 ...
7 LL |     foo!(bar);
8    |     ---------- in this macro invocation
9
10 error[E0433]: failed to resolve: maybe a missing `extern crate syntax;`?
11   --> $DIR/quote-with-interpolated.rs:5:13
12    |
13 LL |             quote_expr!(cx, $bar)
14    |             ^^^^^^^^^^^^^^^^^^^^^ maybe a missing `extern crate syntax;`?
15
16 error[E0433]: failed to resolve: maybe a missing `extern crate syntax;`?
17   --> $DIR/quote-with-interpolated.rs:5:29
18    |
19 LL |             quote_expr!(cx, $bar)
20    |                             ^^^^ maybe a missing `extern crate syntax;`?
21
22 error[E0425]: cannot find value `cx` in this scope
23   --> $DIR/quote-with-interpolated.rs:5:25
24    |
25 LL |             quote_expr!(cx, $bar)
26    |                         ^^ not found in this scope
27 ...
28 LL |     foo!(bar);
29    |     ---------- in this macro invocation
30
31 error[E0425]: cannot find function `new_parser_from_tts` in this scope
32   --> $DIR/quote-with-interpolated.rs:5:13
33    |
34 LL |             quote_expr!(cx, $bar)
35    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
36
37 error: aborting due to 5 previous errors
38
39 Some errors occurred: E0425, E0433.
40 For more information about an error, try `rustc --explain E0425`.