rename epoch to edition

This commit is contained in:
Kurtis Nusbaum 2018-03-14 20:30:06 -07:00
parent 75af15ee6c
commit 3c8d555497
16 changed files with 95 additions and 95 deletions

View file

@ -9,9 +9,9 @@
// except according to those terms.
// ignore-tidy-linelength
// compile-flags: -Zepoch=2015 -Zunstable-options
// compile-flags: -Zedition=2015 -Zunstable-options
// tests that epochs work with the tyvar warning-turned-error
// tests that editions work with the tyvar warning-turned-error
#[deny(warnings)]
fn main() {

View file

@ -9,9 +9,9 @@
// except according to those terms.
// ignore-tidy-linelength
// compile-flags: -Zepoch=2018 -Zunstable-options
// compile-flags: -Zedition=2018 -Zunstable-options
// tests that epochs work with the tyvar warning-turned-error
// tests that editions work with the tyvar warning-turned-error
#[deny(warnings)]
fn main() {

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-pretty `dyn ::foo` parses differently in the current epoch
// ignore-pretty `dyn ::foo` parses differently in the current edition
#![feature(dyn_trait)]

View file

@ -11,7 +11,7 @@
// Checks if the correct registers are being used to pass arguments
// when the sysv64 ABI is specified.
// compile-flags: -Zepoch=2018
// compile-flags: -Zedition=2018
pub trait Foo {}

View file

@ -5,6 +5,6 @@ LL | if data.is_null() {}
| ^^^^^^^
|
= note: #[warn(tyvar_behind_raw_pointer)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 epoch!
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>