Skip to content

Commit

Permalink
--bless --compare-mode=nll
Browse files Browse the repository at this point in the history
  • Loading branch information
matprec committed Feb 9, 2020
1 parent f35a7c3 commit 7b55517
Show file tree
Hide file tree
Showing 250 changed files with 689 additions and 685 deletions.
4 changes: 2 additions & 2 deletions src/test/rustdoc-ui/deprecated-attrs.stderr
@@ -1,9 +1,9 @@
warning: the `#![doc(no_default_passes)]` attribute is considered deprecated
|
= warning: please see https://github.com/rust-lang/rust/issues/44136
= warning: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
= help: you may want to use `#![doc(document_private_items)]`

warning: the `#![doc(passes = "...")]` attribute is considered deprecated
|
= warning: please see https://github.com/rust-lang/rust/issues/44136
= warning: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information

2 changes: 1 addition & 1 deletion src/test/ui-fulldeps/feature-gate-plugin.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: compiler plugins are deprecated
LL | #![plugin(empty_plugin)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29597
= note: see issue #29597 <https://github.com/rust-lang/rust/issues/29597> for more information
= help: add `#![feature(plugin)]` to the crate attributes to enable

warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui-fulldeps/gated-plugin.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: compiler plugins are deprecated
LL | #![plugin(empty_plugin)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29597
= note: see issue #29597 <https://github.com/rust-lang/rust/issues/29597> for more information
= help: add `#![feature(plugin)]` to the crate attributes to enable

warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
Expand Down
10 changes: 5 additions & 5 deletions src/test/ui-fulldeps/hash-stable-is-unstable.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
LL | extern crate rustc_data_structures;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
= help: add `#![feature(rustc_private)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
Expand All @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
LL | extern crate rustc;
| ^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
= help: add `#![feature(rustc_private)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
Expand All @@ -22,7 +22,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
LL | extern crate rustc_macros;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
= help: add `#![feature(rustc_private)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
Expand All @@ -31,7 +31,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
LL | use rustc_macros::HashStable;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
= help: add `#![feature(rustc_private)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
Expand All @@ -40,7 +40,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
LL | #[derive(HashStable)]
| ^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui-fulldeps/pathless-extern-unstable.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
LL | pub use rustc;
| ^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
= help: add `#![feature(rustc_private)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
Expand Up @@ -4,7 +4,7 @@ error: equality constraints are not yet supported in `where` clauses
LL | fn dent_object_2<COLOR>(c: dyn BoxCar) where <dyn BoxCar as Vehicle>::Color = COLOR {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not supported
|
= note: for more information, see https://github.com/rust-lang/rust/issues/20041
= note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information

error[E0221]: ambiguous associated type `Color` in bounds of `C`
--> $DIR/associated-type-projection-from-multiple-supertraits.rs:19:32
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/async-await/feature-async-closure.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: async closures are unstable
LL | let _ = async || {};
| ^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/62290
= note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
= help: add `#![feature(async_closure)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/borrowck/issue-64453.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: `match` is not allowed in a `static`
LL | static settings_dir: String = format!("");
| ^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/49146
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
= help: add `#![feature(const_if_match)]` to the crate attributes to enable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/cast/cast-ptr-to-int-const.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: casting pointers to integers in constants is unstable
LL | main as u32
| ^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51910
= note: see issue #51910 <https://github.com/rust-lang/rust/issues/51910> for more information
= help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable

error[E0658]: casting pointers to integers in constants is unstable
Expand All @@ -13,7 +13,7 @@ error[E0658]: casting pointers to integers in constants is unstable
LL | &Y as *const u32 as u32
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51910
= note: see issue #51910 <https://github.com/rust-lang/rust/issues/51910> for more information
= help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable

error: aborting due to 2 previous errors
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/check-static-immutable-mut-slices.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: references in statics may only refer to immutable values
LL | static TEST: &'static mut [isize] = &mut [];
| ^^^^^^^ statics require immutable values
|
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/closures/issue-52437.stderr
Expand Up @@ -10,7 +10,7 @@ error[E0658]: `loop` is not allowed in a `const`
LL | [(); &(&'static: loop { |x| {}; }) as *const _ as usize]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
= help: add `#![feature(const_loop)]` to the crate attributes to enable

error[E0282]: type annotations needed
Expand Down
Expand Up @@ -4,7 +4,7 @@ error[E0658]: the `#[no_core]` attribute is an experimental feature
LL | #![cfg_attr(broken, no_core)]
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29639
= note: see issue #29639 <https://github.com/rust-lang/rust/issues/29639> for more information
= help: add `#![feature(no_core)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
Expand Up @@ -4,7 +4,7 @@ error[E0658]: the `#[no_core]` attribute is an experimental feature
LL | #![cfg_attr(broken, no_core, no_std)]
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29639
= note: see issue #29639 <https://github.com/rust-lang/rust/issues/29639> for more information
= help: add `#![feature(no_core)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
Expand Up @@ -4,7 +4,7 @@ error[E0658]: the `#[no_core]` attribute is an experimental feature
LL | #![cfg_attr(broken, no_std, no_core)]
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29639
= note: see issue #29639 <https://github.com/rust-lang/rust/issues/29639> for more information
= help: add `#![feature(no_core)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
Expand Up @@ -4,7 +4,7 @@ error[E0658]: const generics are unstable
LL | trait Trait<const T: ()> {}
| ^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/44580
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
= help: add `#![feature(const_generics)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
Expand Up @@ -4,7 +4,7 @@ error[E0658]: const generics are unstable
LL | struct B<T, const N: T>(PhantomData<[T; N]>);
| ^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/44580
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
= help: add `#![feature(const_generics)]` to the crate attributes to enable

error[E0741]: the types of const generic parameters must derive `PartialEq` and `Eq`
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/const-generics/issues/issue-60263.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: const generics are unstable
LL | struct B<const I: u8>;
| ^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/44580
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
= help: add `#![feature(const_generics)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
8 changes: 4 additions & 4 deletions src/test/ui/consts/const-address-of-mut.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: `&raw mut` is not allowed in constants
LL | const A: () = { let mut x = 2; &raw mut x; };
| ^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable

error[E0658]: `&raw mut` is not allowed in statics
Expand All @@ -13,7 +13,7 @@ error[E0658]: `&raw mut` is not allowed in statics
LL | static B: () = { let mut x = 2; &raw mut x; };
| ^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable

error[E0658]: `&raw mut` is not allowed in statics
Expand All @@ -22,7 +22,7 @@ error[E0658]: `&raw mut` is not allowed in statics
LL | static mut C: () = { let mut x = 2; &raw mut x; };
| ^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable

error[E0658]: `&raw mut` is not allowed in constant functions
Expand All @@ -31,7 +31,7 @@ error[E0658]: `&raw mut` is not allowed in constant functions
LL | let y = &raw mut x;
| ^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable

error: aborting due to 4 previous errors
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-deref-ptr.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: dereferencing raw pointers in statics is unstable
LL | static C: u64 = unsafe {*(0xdeadbeef as *const u64)};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51911
= note: see issue #51911 <https://github.com/rust-lang/rust/issues/51911> for more information
= help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
Expand Up @@ -4,7 +4,7 @@ error[E0658]: unions in const fn are unstable
LL | Foo { u }.i
| ^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51909
= note: see issue #51909 <https://github.com/rust-lang/rust/issues/51909> for more information
= help: add `#![feature(const_fn_union)]` to the crate attributes to enable

error: aborting due to previous error
Expand Down
6 changes: 3 additions & 3 deletions src/test/ui/consts/const-eval/feature-gate-const_panic.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: panicking in constants is unstable
LL | const Z: () = panic!("cheese");
| ^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51999
= note: see issue #51999 <https://github.com/rust-lang/rust/issues/51999> for more information
= help: add `#![feature(const_panic)]` to the crate attributes to enable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

Expand All @@ -14,7 +14,7 @@ error[E0658]: panicking in constants is unstable
LL | const X: () = unimplemented!();
| ^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51999
= note: see issue #51999 <https://github.com/rust-lang/rust/issues/51999> for more information
= help: add `#![feature(const_panic)]` to the crate attributes to enable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

Expand All @@ -24,7 +24,7 @@ error[E0658]: panicking in constants is unstable
LL | const Y: () = unreachable!();
| ^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51999
= note: see issue #51999 <https://github.com/rust-lang/rust/issues/51999> for more information
= help: add `#![feature(const_panic)]` to the crate attributes to enable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/infinite_loop.stderr
Expand Up @@ -9,7 +9,7 @@ LL | |
LL | | }
| |_________^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
= help: add `#![feature(const_loop)]` to the crate attributes to enable
= help: add `#![feature(const_if_match)]` to the crate attributes to enable

Expand All @@ -19,7 +19,7 @@ error[E0658]: `if` is not allowed in a `const`
LL | n = if n % 2 == 0 { n/2 } else { 3*n + 1 };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/49146
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
= help: add `#![feature(const_if_match)]` to the crate attributes to enable

warning: Constant evaluating a complex constant, this might take some time
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/issue-52442.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: `loop` is not allowed in a `const`
LL | [(); { &loop { break } as *const _ as usize } ];
| ^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
= help: add `#![feature(const_loop)]` to the crate attributes to enable

error[E0658]: casting pointers to integers in constants is unstable
Expand All @@ -13,7 +13,7 @@ error[E0658]: casting pointers to integers in constants is unstable
LL | [(); { &loop { break } as *const _ as usize } ];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/51910
= note: see issue #51910 <https://github.com/rust-lang/rust/issues/51910> for more information
= help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable

error[E0080]: evaluation of constant value failed
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-eval/issue-52475.stderr
Expand Up @@ -8,7 +8,7 @@ LL | | x = &0; // Materialize a new AllocId
LL | | }
| |_________^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
= help: add `#![feature(const_loop)]` to the crate attributes to enable
= help: add `#![feature(const_if_match)]` to the crate attributes to enable

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/issue-62272.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: `loop` is not allowed in a `const`
LL | const FOO: () = loop { break; };
| ^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
= help: add `#![feature(const_loop)]` to the crate attributes to enable

error[E0658]: `loop` is not allowed in a `const`
Expand All @@ -13,7 +13,7 @@ error[E0658]: `loop` is not allowed in a `const`
LL | [FOO; { let x; loop { x = 5; break; } x }];
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
= help: add `#![feature(const_loop)]` to the crate attributes to enable

error: aborting due to 2 previous errors
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-eval/issue-65394.stderr
Expand Up @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values
LL | let r = &mut x;
| ^^^^^^ constants require immutable values
|
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable

error[E0493]: destructors cannot be evaluated at compile-time
Expand Down

0 comments on commit 7b55517

Please sign in to comment.