]> git.lizzy.rs Git - rust.git/blob - src/test/ui/quote-with-interpolated.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / quote-with-interpolated.rs
1 #![feature(quote)]
2 fn main() {
3     macro_rules! foo {
4         ($bar:expr)  => {
5             quote_expr!(cx, $bar)
6             //~^ ERROR quote! with interpolated token
7             //~| ERROR failed to resolve: maybe a missing `extern crate syntax;`?
8             //~| ERROR failed to resolve: maybe a missing `extern crate syntax;`?
9             //~| ERROR cannot find value `cx` in this scope
10             //~| ERROR cannot find function `new_parser_from_tts` in this scope
11         }
12     }
13     foo!(bar);
14 }