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
ef29f7ff36
rust
/
src
/
test
/
compile-fail
/
bad-value-ident-true.rs
2 lines
73 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
true
(
)
{
}
//~ ERROR found `true` 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