diff options
| author | bors <bors@rust-lang.org> | 2020-02-11 02:00:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-11 02:00:27 +0000 |
| commit | dc4242d9052a42cdf329c3a2430d02a3b3d415cb (patch) | |
| tree | 71de7572d10aeed9168aad022ec0a54b1f56ffa7 /src/test/ui/error-codes | |
| parent | 0f0cdf6acdb5a9b968728d961929ca59ff93cfa4 (diff) | |
| parent | 7b555178aef4045685eb359204b565a4bb8d1a9f (diff) | |
Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPC
Make issue references consistent Fixes https://github.com/rust-lang/rust/issues/62976 cc https://github.com/rust-lang/rust/pull/63008 r? @varkor because you reviewed the original pr
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 |
