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

11 lines
272 B
Rust
Raw Normal View History

2018-10-06 04:56:46 +00:00
#![feature(proc_macro_hygiene)]
#[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
}