Skip to content

Commit

Permalink
Unrolled build for rust-lang#119852
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#119852 - RalfJung:const-err4, r=compiler-errors

give const-err4 a more descriptive name

Also, doesn't look like this still needs to be per-bitwidth

r? ``@oli-obk``
  • Loading branch information
rust-timer authored Jan 11, 2024
2 parents 4d31ed4 + db86056 commit 482aed7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// stderr-per-bitwidth
#[derive(Copy, Clone)]
union Foo {
a: isize,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0080]: evaluation of constant value failed
--> $DIR/const-err4.rs:9:21
--> $DIR/const-err-enum-discriminant.rs:8:21
|
LL | Boo = [unsafe { Foo { b: () }.a }; 4][3],
| ^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
Expand Down
9 changes: 0 additions & 9 deletions tests/ui/consts/const-err4.64bit.stderr

This file was deleted.

0 comments on commit 482aed7

Please sign in to comment.