rust/tests/ui/macros/macro-comma-support.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
248 B
Rust
Raw Normal View History

2018-02-06 22:03:14 -06:00
// This is a companion to the similarly-named test in run-pass.
//
// It tests macros that unavoidably produce compile errors.
fn compile_error() {
compile_error!("lel"); //~ ERROR lel
compile_error!("lel",); //~ ERROR lel
}
fn main() {}