This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ea6030878a
rust
/
src
/
test
/
run-fail
/
explicit-fail-msg.rs
3 lines
90 B
Rust
Raw
Normal View
History
Unescape
Escape
Allow any string expression to be used with fail.
2011-07-01 13:33:15 -05:00
// error-pattern:wooooo
Reformat. Issue #855
2011-09-02 17:34:58 -05:00
fn
main
(
)
{
let
a
=
1
;
if
1
=
=
1
{
a
=
2
;
}
fail
"
woooo
"
+
"
o
"
;
}
Reference in New Issue
Copy Permalink