Replace be with become

As per rust-lang/rfcs#601, replace `be` with `become` as reserved
keyword for tail call optimization.
This commit is contained in:
Andrea Canciani 2015-01-17 17:00:32 +01:00 committed by Andrea Canciani
parent 3b2ed14906
commit 8f7c2d518d
4 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
@ -9,6 +9,6 @@
// except according to those terms.
fn main() {
let be = 0;
//~^ ERROR `be` is a reserved keyword
let become = 0;
//~^ ERROR `become` is a reserved keyword
}