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
rust
/
src
/
test
/
compile-fail
/
die-not-unique.rs
6 lines
68 B
Rust
Raw
Normal View
History
Unescape
Escape
Adjust the die macro to only accept ~str and to work in statement position
2012-12-10 17:22:10 -08:00
// error-pattern:mismatched types
fn
main
(
)
{
Remove die!, raplace invocations with fail! Issue #4524 pt 3
2013-02-11 19:26:38 -08:00
fail!
(
"
test
"
)
;
Adjust the die macro to only accept ~str and to work in statement position
2012-12-10 17:22:10 -08:00
}
Reference in New Issue
Copy Permalink