about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-06-09 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-06-10 14:53:06 +0200
commit40c9aaee138be57bbc98fdb5ccb4c4b70a63e5cf (patch)
treed4a9fd924078c3e23bd7bc339b744519538e8ca5 /src/test
parent0279cb11ed98bdc589c66572477fd27f1dd3e0ac (diff)
downloadrust-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.stderr4
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