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
12c32e944d
rust
/
src
/
test
/
compile-fail
/
bad-value-ident-true.rs
2 lines
68 B
Rust
Raw
Normal View
History
Unescape
Escape
Promote most restricted keywords to strict keywords
2012-09-10 01:03:46 -05:00
fn
true
(
)
{
}
//~ ERROR found `true` in ident 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