Skip to content

Commit 97772bb

Browse files
committed
Bless the test suite.
1 parent d3ff497 commit 97772bb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/test/ui/consts/const-eval/ub-upvars.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LL | | };
1010
|
1111
= 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.
1212
= note: the raw bytes of the constant (size: 8, align: 4) {
13-
╾─alloc2──╼ ╾─alloc3──╼ │ ╾──╼╾──╼
13+
╾─alloc2──╼ ╾─alloc5──╼ │ ╾──╼╾──╼
1414
}
1515

1616
error: aborting due to previous error

src/test/ui/consts/const-eval/ub-upvars.64bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LL | | };
1010
|
1111
= 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.
1212
= note: the raw bytes of the constant (size: 16, align: 8) {
13-
╾───────alloc2────────╼ ╾───────alloc3────────╼ │ ╾──────╼╾──────╼
13+
╾───────alloc2────────╼ ╾───────alloc5────────╼ │ ╾──────╼╾──────╼
1414
}
1515

1616
error: aborting due to previous error

src/test/ui/consts/issue-79690.64bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | const G: Fat = unsafe { Transmute { t: FOO }.u };
66
|
77
= 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.
88
= note: the raw bytes of the constant (size: 16, align: 8) {
9-
╾───────alloc2────────╼ ╾───────alloc3────────╼ │ ╾──────╼╾──────╼
9+
╾───────alloc2────────╼ ╾───────alloc5────────╼ │ ╾──────╼╾──────╼
1010
}
1111

1212
error: aborting due to previous error

src/test/ui/consts/miri_unleashed/mutable_references_err.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LL | const SNEAKY: &dyn Sync = &Synced { x: UnsafeCell::new(42) };
1919
|
2020
= 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.
2121
= note: the raw bytes of the constant (size: 8, align: 4) {
22-
╾─alloc6──╼ ╾─alloc7──╼ │ ╾──╼╾──╼
22+
╾─alloc6──╼ ╾─alloc8──╼ │ ╾──╼╾──╼
2323
}
2424

2525
error[E0080]: it is undefined behavior to use this value

src/test/ui/consts/miri_unleashed/mutable_references_err.64bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LL | const SNEAKY: &dyn Sync = &Synced { x: UnsafeCell::new(42) };
1919
|
2020
= 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.
2121
= note: the raw bytes of the constant (size: 16, align: 8) {
22-
╾───────alloc6────────╼ ╾───────alloc7────────╼ │ ╾──────╼╾──────╼
22+
╾───────alloc6────────╼ ╾───────alloc8────────╼ │ ╾──────╼╾──────╼
2323
}
2424

2525
error[E0080]: it is undefined behavior to use this value

0 commit comments

Comments
 (0)