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
43271a39ad
rust
/
src
/
test
/
run-fail
/
issue-2761.rs
6 lines
85 B
Rust
Raw
Normal View
History
Unescape
Escape
Allow custom messages on assert statements
2013-03-19 13:05:20 -05:00
// error-pattern:custom message
fn
main
(
)
{
librustc: Remove `fail_unless!`
2013-03-28 20:39:09 -05:00
assert!
(
false
,
"
custom message
"
)
;
Allow custom messages on assert statements
2013-03-19 13:05:20 -05:00
}
Reference in New Issue
Copy Permalink