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-06 22:26:45 -05:00
fn main() {
compile_error!("a very descriptive error message"); //~ ERROR: a very descriptive error message
}