diff options
| author | Matthias Prechtl <m.sleepypanda@gmail.com> | 2020-02-07 13:07:02 +0100 |
|---|---|---|
| committer | Matthias Prechtl <m.sleepypanda@gmail.com> | 2020-02-09 20:43:49 +0100 |
| commit | 7b555178aef4045685eb359204b565a4bb8d1a9f (patch) | |
| tree | 1e70243305ad8c731063a496d312b43e022a942e /src/test/ui/error-codes | |
| parent | f35a7c38da65c9a006c0c7dbd73685b552b3cbf9 (diff) | |
--bless --compare-mode=nll
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0017.stderr | 8 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0388.stderr | 6 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0395.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0396.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0658.stderr | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/test/ui/error-codes/E0017.stderr b/src/test/ui/error-codes/E0017.stderr index 9a87195a9d0..2e687c18ed3 100644 --- a/src/test/ui/error-codes/E0017.stderr +++ b/src/test/ui/error-codes/E0017.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | const CR: &'static mut i32 = &mut C; | ^^^^^^ 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[E0019]: static contains unimplemented expression type @@ -19,7 +19,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static STATIC_REF: &'static mut i32 = &mut X; | ^^^^^^ 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[E0596]: cannot borrow immutable static item `X` as mutable @@ -34,7 +34,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static CONST_REF: &'static mut i32 = &mut C; | ^^^^^^ 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[E0658]: references in statics may only refer to immutable values @@ -43,7 +43,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static STATIC_MUT_REF: &'static mut i32 = unsafe { &mut M }; | ^^^^^^ 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 6 previous errors diff --git a/src/test/ui/error-codes/E0388.stderr b/src/test/ui/error-codes/E0388.stderr index 986307d3f12..52822ebdd9e 100644 --- a/src/test/ui/error-codes/E0388.stderr +++ b/src/test/ui/error-codes/E0388.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | const CR: &'static mut i32 = &mut C; | ^^^^^^ 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[E0019]: static contains unimplemented expression type @@ -19,7 +19,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static STATIC_REF: &'static mut i32 = &mut X; | ^^^^^^ 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[E0596]: cannot borrow immutable static item `X` as mutable @@ -34,7 +34,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static CONST_REF: &'static mut i32 = &mut C; | ^^^^^^ 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 5 previous errors diff --git a/src/test/ui/error-codes/E0395.stderr b/src/test/ui/error-codes/E0395.stderr index a4580f1cb23..20c8622f337 100644 --- a/src/test/ui/error-codes/E0395.stderr +++ b/src/test/ui/error-codes/E0395.stderr @@ -4,7 +4,7 @@ error[E0658]: comparing raw pointers inside static LL | static BAZ: bool = unsafe { (&FOO as *const i32) == (&BAR as *const i32) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53020 + = note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information = help: add `#![feature(const_compare_raw_pointers)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/error-codes/E0396.stderr b/src/test/ui/error-codes/E0396.stderr index f0aa739a693..7d2544f939f 100644 --- a/src/test/ui/error-codes/E0396.stderr +++ b/src/test/ui/error-codes/E0396.stderr @@ -4,7 +4,7 @@ error[E0658]: dereferencing raw pointers in constants is unstable LL | const VALUE: u8 = unsafe { *REG_ADDR }; | ^^^^^^^^^ | - = 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 diff --git a/src/test/ui/error-codes/E0658.stderr b/src/test/ui/error-codes/E0658.stderr index 1cb81c8d778..4563b0e2194 100644 --- a/src/test/ui/error-codes/E0658.stderr +++ b/src/test/ui/error-codes/E0658.stderr @@ -6,7 +6,7 @@ LL | | Bar(u64), LL | | } | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/56071 + = note: see issue #56071 <https://github.com/rust-lang/rust/issues/56071> for more information = help: add `#![feature(repr128)]` to the crate attributes to enable error: aborting due to previous error |
