summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/invalid-union.32bit.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/invalid-union.32bit.stderr')
-rw-r--r--tests/ui/consts/invalid-union.32bit.stderr4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/consts/invalid-union.32bit.stderr b/tests/ui/consts/invalid-union.32bit.stderr
index b6cf060e5..32b67a130 100644
--- a/tests/ui/consts/invalid-union.32bit.stderr
+++ b/tests/ui/consts/invalid-union.32bit.stderr
@@ -6,7 +6,7 @@ LL | fn main() {
|
= note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
= note: the raw bytes of the constant (size: 4, align: 4) {
- ╾─alloc7──╼ │ ╾──╼
+ ╾ALLOC0╼ │ ╾──╼
}
note: erroneous constant encountered
@@ -20,6 +20,8 @@ note: erroneous constant encountered
|
LL | let _: &'static _ = &C;
| ^^
+ |
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to previous error