Add optional message to fail.
This commit is contained in:
parent
b5c73605ea
commit
2235fb73ef
10 changed files with 41 additions and 13 deletions
5
src/test/run-fail/explicit-fail-msg.rs
Normal file
5
src/test/run-fail/explicit-fail-msg.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// error-pattern:woooo
|
||||
|
||||
fn main() {
|
||||
fail "woooo";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue