Skip to content

Commit 2875a0c

Browse files
committed
--bless --compare-mode=nll
1 parent e97caf8 commit 2875a0c

File tree

247 files changed

+683
-679
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+683
-679
lines changed
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
warning: the `#![doc(no_default_passes)]` attribute is considered deprecated
22
|
3-
= warning: please see https://github.com/rust-lang/rust/issues/44136
3+
= warning: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
44
= help: you may want to use `#![doc(document_private_items)]`
55

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

src/test/ui-fulldeps/feature-gate-plugin.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: compiler plugins are deprecated
44
LL | #![plugin(empty_plugin)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/29597
7+
= note: see issue #29597 <https://github.com/rust-lang/rust/issues/29597> for more information
88
= help: add `#![feature(plugin)]` to the crate attributes to enable
99

1010
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675

src/test/ui-fulldeps/gated-plugin.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: compiler plugins are deprecated
44
LL | #![plugin(empty_plugin)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/29597
7+
= note: see issue #29597 <https://github.com/rust-lang/rust/issues/29597> for more information
88
= help: add `#![feature(plugin)]` to the crate attributes to enable
99

1010
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675

src/test/ui-fulldeps/hash-stable-is-unstable.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
44
LL | extern crate rustc_data_structures;
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
7+
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
88
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
99

1010
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?
@@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
1313
LL | extern crate rustc;
1414
| ^^^^^^^^^^^^^^^^^^^
1515
|
16-
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
16+
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
1717
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
1818

1919
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?
@@ -22,7 +22,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
2222
LL | extern crate rustc_macros;
2323
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2424
|
25-
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
25+
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
2626
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2727

2828
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?
@@ -31,7 +31,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
3131
LL | use rustc_macros::HashStable;
3232
| ^^^^^^^^^^^^^^^^^^^^^^^^
3333
|
34-
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
34+
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
3535
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
3636

3737
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?
@@ -40,7 +40,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
4040
LL | #[derive(HashStable)]
4141
| ^^^^^^^^^^
4242
|
43-
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
43+
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
4444
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
4545
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
4646

src/test/ui-fulldeps/pathless-extern-unstable.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei
44
LL | pub use rustc;
55
| ^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
7+
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
88
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/associated-type/associated-type-projection-from-multiple-supertraits.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: equality constraints are not yet supported in `where` clauses
44
LL | fn dent_object_2<COLOR>(c: dyn BoxCar) where <dyn BoxCar as Vehicle>::Color = COLOR {
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not supported
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/20041
7+
= note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
88

99
error[E0221]: ambiguous associated type `Color` in bounds of `C`
1010
--> $DIR/associated-type-projection-from-multiple-supertraits.rs:19:32

src/test/ui/async-await/feature-async-closure.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: async closures are unstable
44
LL | let _ = async || {};
55
| ^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/62290
7+
= note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
88
= help: add `#![feature(async_closure)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/borrowck/issue-64453.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: `match` is not allowed in a `static`
44
LL | static settings_dir: String = format!("");
55
| ^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/49146
7+
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
88
= help: add `#![feature(const_if_match)]` to the crate attributes to enable
99
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
1010

src/test/ui/cast/cast-ptr-to-int-const.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: casting pointers to integers in constants is unstable
44
LL | main as u32
55
| ^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/51910
7+
= note: see issue #51910 <https://github.com/rust-lang/rust/issues/51910> for more information
88
= help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable
99

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

1919
error: aborting due to 2 previous errors

src/test/ui/check-static-immutable-mut-slices.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: references in statics may only refer to immutable values
44
LL | static TEST: &'static mut [isize] = &mut [];
55
| ^^^^^^^ statics require immutable values
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
7+
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
88
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/closures/issue-52437.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ error[E0658]: `loop` is not allowed in a `const`
1010
LL | [(); &(&'static: loop { |x| {}; }) as *const _ as usize]
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1212
|
13-
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
13+
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
1414
= help: add `#![feature(const_loop)]` to the crate attributes to enable
1515

1616
error[E0282]: type annotations needed

src/test/ui/conditional-compilation/cfg-attr-crate-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: the `#[no_core]` attribute is an experimental feature
44
LL | #![cfg_attr(broken, no_core)]
55
| ^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/29639
7+
= note: see issue #29639 <https://github.com/rust-lang/rust/issues/29639> for more information
88
= help: add `#![feature(no_core)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/conditional-compilation/cfg-attr-multi-invalid-1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: the `#[no_core]` attribute is an experimental feature
44
LL | #![cfg_attr(broken, no_core, no_std)]
55
| ^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/29639
7+
= note: see issue #29639 <https://github.com/rust-lang/rust/issues/29639> for more information
88
= help: add `#![feature(no_core)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/conditional-compilation/cfg-attr-multi-invalid-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: the `#[no_core]` attribute is an experimental feature
44
LL | #![cfg_attr(broken, no_std, no_core)]
55
| ^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/29639
7+
= note: see issue #29639 <https://github.com/rust-lang/rust/issues/29639> for more information
88
= help: add `#![feature(no_core)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/const-generics/const-param-in-trait-ungated.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: const generics are unstable
44
LL | trait Trait<const T: ()> {}
55
| ^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/44580
7+
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
88
= help: add `#![feature(const_generics)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: const generics are unstable
44
LL | struct B<T, const N: T>(PhantomData<[T; N]>);
55
| ^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/44580
7+
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
88
= help: add `#![feature(const_generics)]` to the crate attributes to enable
99

1010
error[E0741]: the types of const generic parameters must derive `PartialEq` and `Eq`

src/test/ui/const-generics/issues/issue-60263.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: const generics are unstable
44
LL | struct B<const I: u8>;
55
| ^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/44580
7+
= note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
88
= help: add `#![feature(const_generics)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/consts/const-address-of-mut.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: `&raw mut` is not allowed in constants
44
LL | const A: () = { let mut x = 2; &raw mut x; };
55
| ^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
7+
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
88
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
99

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

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

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

3737
error: aborting due to 4 previous errors

src/test/ui/consts/const-deref-ptr.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: dereferencing raw pointers in statics is unstable
44
LL | static C: u64 = unsafe {*(0xdeadbeef as *const u64)};
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/51911
7+
= note: see issue #51911 <https://github.com/rust-lang/rust/issues/51911> for more information
88
= help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/consts/const-eval/feature-gate-const_fn_union.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: unions in const fn are unstable
44
LL | Foo { u }.i
55
| ^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/51909
7+
= note: see issue #51909 <https://github.com/rust-lang/rust/issues/51909> for more information
88
= help: add `#![feature(const_fn_union)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/consts/const-eval/feature-gate-const_panic.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: panicking in constants is unstable
44
LL | const Z: () = panic!("cheese");
55
| ^^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/51999
7+
= note: see issue #51999 <https://github.com/rust-lang/rust/issues/51999> for more information
88
= help: add `#![feature(const_panic)]` to the crate attributes to enable
99
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
1010

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

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

src/test/ui/consts/const-eval/infinite_loop.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LL | |
99
LL | | }
1010
| |_________^
1111
|
12-
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
12+
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
1313
= help: add `#![feature(const_loop)]` to the crate attributes to enable
1414
= help: add `#![feature(const_if_match)]` to the crate attributes to enable
1515

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

2525
warning: Constant evaluating a complex constant, this might take some time

src/test/ui/consts/const-eval/issue-52442.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: `loop` is not allowed in a `const`
44
LL | [(); { &loop { break } as *const _ as usize } ];
55
| ^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
7+
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
88
= help: add `#![feature(const_loop)]` to the crate attributes to enable
99

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

1919
error[E0080]: evaluation of constant value failed

src/test/ui/consts/const-eval/issue-52475.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | | x = &0; // Materialize a new AllocId
88
LL | | }
99
| |_________^
1010
|
11-
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
11+
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
1212
= help: add `#![feature(const_loop)]` to the crate attributes to enable
1313
= help: add `#![feature(const_if_match)]` to the crate attributes to enable
1414

src/test/ui/consts/const-eval/issue-62272.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: `loop` is not allowed in a `const`
44
LL | const FOO: () = loop { break; };
55
| ^^^^^^^^^^^^^^^
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/52000
7+
= note: see issue #52000 <https://github.com/rust-lang/rust/issues/52000> for more information
88
= help: add `#![feature(const_loop)]` to the crate attributes to enable
99

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

1919
error: aborting due to 2 previous errors

src/test/ui/consts/const-eval/issue-65394.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values
44
LL | let r = &mut x;
55
| ^^^^^^ constants require immutable values
66
|
7-
= note: for more information, see https://github.com/rust-lang/rust/issues/57349
7+
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
88
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
99

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

0 commit comments

Comments
 (0)