rust/tests/ui/compile_error_macro.rs
2023-01-11 09:32:08 +00:00

4 lines
114 B
Rust

fn main() {
compile_error!("a very descriptive error message"); //~ ERROR: a very descriptive error message
}