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
/
fail-simple.rs
7 lines
76 B
Rust
Raw
Normal View
History
Unescape
Escape
Parser fix: 'fail' was eating the next token that came after it.
2011-05-16 18:05:21 -07:00
// -*- rust -*-
Fix the error-pattern on compile-fail/fail-simple Recent changes to the fail statement changed the way the parser errors in this scenario.
2011-07-01 23:54:10 -07:00
// error-pattern:unexpected token
Parser fix: 'fail' was eating the next token that came after it.
2011-05-16 18:05:21 -07:00
fn
main
(
)
{
fail
@
;
}
Reference in New Issue
Copy Permalink