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
0b653ab953
rust
/
src
/
test
/
compile-fail
/
bad-value-ident-false.rs
2 lines
75 B
Rust
Raw
Normal View
History
Unescape
Escape
parser: More refactoring of restricted value name checking
2012-04-27 17:44:40 -05:00
fn
false
(
)
{
}
//! ERROR found `false` in restricted position
syntax: Make 'true' and 'false' bad words When these are idents they are always shadowed by the boolean constants.
2012-04-24 23:47:22 -05:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink