diff options
Diffstat (limited to 'src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.fixed')
| -rw-r--r-- | src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.fixed | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.fixed b/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.fixed index bd5c1844f15..c815080fc4a 100644 --- a/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.fixed +++ b/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.fixed @@ -13,27 +13,27 @@ mod outer_mod { pub mod r#dyn { //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition pub struct r#dyn; //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition } } use outer_mod::r#dyn::r#dyn; //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition //~| ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition fn main() { match r#dyn { r#dyn => {} } //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition //~| ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition macro_defn::r#dyn(); //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition macro_defn::boxed(); } @@ -43,7 +43,7 @@ mod macro_defn { macro_rules! r#dyn { //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition // Note that we do not lint nor fix occurrences under macros ($dyn:tt) => { (Box<dyn Trait>, Box<$dyn Trait>) } @@ -51,23 +51,23 @@ mod macro_defn { pub fn r#dyn() -> ::outer_mod::r#dyn::r#dyn { //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition //~| ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition //~| ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition ::outer_mod::r#dyn::r#dyn //~^ ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition //~| ERROR `dyn` is a keyword -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition } pub fn boxed() -> r#dyn!( //~^ ERROR `dyn` is a keyword - //~| WARN this is valid in the current edition + //~| WARN this is accepted in the current edition // Note that we do not lint nor fix occurrences under macros dyn |
