This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-08 07:57:40 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
reserved
/
reserved-become.rs
5 lines
102 B
Rust
Raw
Permalink
Normal View
History
Unescape
Escape
Reserve 'be' as a keyword
2012-09-12 02:26:48 +00:00
fn
main
(
)
{
Replace `be` with `become` As per rust-lang/rfcs#601, replace `be` with `become` as reserved keyword for tail call optimization.
2015-01-17 16:00:32 +00:00
let
become
=
0
;
recover on 'mut ' and improve recovery for keywords.
2019-08-27 11:04:48 +00:00
//~^ ERROR expected identifier, found reserved keyword `become`
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflipping
2013-02-14 19:47:00 +00:00
}
Reference in New Issue
Copy Permalink