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
9b5266d745
rust
/
src
/
test
/
compile-fail
/
bad-value-ident-false.rs
2 lines
75 B
Rust
Raw
Normal View
History
Unescape
Escape
change the test suite `//! kind` syntax to `//~ kind` in order to avoid a conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-06-30 06:23:59 -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