This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
d3a9bb1bd4
rust
/
src
/
test
/
compile-fail
/
bad-alt.rs
7 lines
68 B
Rust
Raw
Normal View
History
Unescape
Escape
More consistent use of backticks and "expected" in error messages. Got some of the debug messages, here, too. I figure it doesn't hurt to get used to doing this even in places where users won't ever see it.
2012-07-13 13:20:49 -07:00
// error-pattern: expected
Fix damage done by the pretty-printer
2011-07-27 14:48:34 +02:00
fn
main
(
)
{
let
int
x
=
5
;
alt
x
;
}
Copy permalink