File tree 4 files changed +6
-6
lines changed 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ token : simple_token | ident | literal | symbol | whitespace token ;
157
157
158
158
| | | | | |
159
159
| ----------| ----------| ----------| ----------| --------|
160
- | abstract | alignof | as | be | box |
160
+ | abstract | alignof | as | become | box |
161
161
| break | const | continue | crate | do |
162
162
| else | enum | extern | false | final |
163
163
| fn | for | if | impl | in |
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ grammar as double-quoted strings. Other tokens have exact rules given.
189
189
190
190
| | | | | |
191
191
| ----------| ----------| ----------| ----------| ---------|
192
- | abstract | alignof | as | be | box |
192
+ | abstract | alignof | as | become | box |
193
193
| break | const | continue | crate | do |
194
194
| else | enum | extern | false | final |
195
195
| fn | for | if | impl | in |
Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ declare_special_idents_and_keywords! {
562
562
( 45 , Where , "where" ) ;
563
563
' reserved:
564
564
( 46 , Alignof , "alignof" ) ;
565
- ( 47 , Be , "be ") ;
565
+ ( 47 , Become , "become ") ;
566
566
( 48 , Offsetof , "offsetof" ) ;
567
567
( 49 , Priv , "priv" ) ;
568
568
( 50 , Pure , "pure" ) ;
Original file line number Diff line number Diff line change 1
- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
1
+ // Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
2
2
// file at the top-level directory of this distribution and at
3
3
// http://rust-lang.org/COPYRIGHT.
4
4
//
9
9
// except according to those terms.
10
10
11
11
fn main ( ) {
12
- let be = 0 ;
13
- //~^ ERROR `be ` is a reserved keyword
12
+ let become = 0 ;
13
+ //~^ ERROR `become ` is a reserved keyword
14
14
}
You can’t perform that action at this time.
0 commit comments