blob: 7df5b62339f67f197d19954bc7bd2af0f1656a39 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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() {}
|