Rocket/core/codegen_next/tests/ui-fail/catchers.rs

11 lines
274 B
Rust

#![feature(proc_macro_non_items)]
#[macro_use] extern crate rocket;
fn main() {
let _ = catchers![a b]; //~ ERROR expected
let _ = catchers![];
let _ = catchers![a::, ]; //~ ERROR expected identifier
let _ = catchers![a::]; //~ ERROR expected identifier
}