rust/tests/ui/compile_error_macro.rs

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

4 lines
114 B
Rust
Raw Normal View History

2017-05-07 03:26:45 +00:00
fn main() {
compile_error!("a very descriptive error message"); //~ ERROR: a very descriptive error message
}