diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-06-09 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-06-10 14:53:06 +0200 |
| commit | 40c9aaee138be57bbc98fdb5ccb4c4b70a63e5cf (patch) | |
| tree | d4a9fd924078c3e23bd7bc339b744519538e8ca5 /src/test | |
| parent | 0279cb11ed98bdc589c66572477fd27f1dd3e0ac (diff) | |
| download | rust-40c9aaee138be57bbc98fdb5ccb4c4b70a63e5cf.tar.gz rust-40c9aaee138be57bbc98fdb5ccb4c4b70a63e5cf.zip | |
Do not emit alloca for ZST locals with multiple assignments
When rebuilding the standard library with `-Zbuild-std` this reduces the number of locals that require an allocation from 62315 to 61767.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/limits/issue-69485-var-size-diffs-too-large.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/limits/issue-69485-var-size-diffs-too-large.stderr b/src/test/ui/limits/issue-69485-var-size-diffs-too-large.stderr index c229458da47..f7923bd4743 100644 --- a/src/test/ui/limits/issue-69485-var-size-diffs-too-large.stderr +++ b/src/test/ui/limits/issue-69485-var-size-diffs-too-large.stderr @@ -1,8 +1,8 @@ error: values of the type `[u8; 18446744073709551615]` are too big for the current architecture - --> $DIR/issue-69485-var-size-diffs-too-large.rs:6:12 + --> $DIR/issue-69485-var-size-diffs-too-large.rs:6:5 | LL | Bug::V([0; !0]); - | ^^^^^^^ + | ^^^^^^^^^^^^^^^ error: aborting due to previous error |
