about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2024-02-14 21:40:45 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2024-02-18 20:59:19 +0300
commit24cffbf703dd70c0718d0c99be37d42eadd39011 (patch)
treedea556f361eb6bb4cbccf78ffc734f16969c619d /tests
parent8b21296b5db6d5724d6b8440dcf459fa82fd88b5 (diff)
downloadrust-24cffbf703dd70c0718d0c99be37d42eadd39011.tar.gz
rust-24cffbf703dd70c0718d0c99be37d42eadd39011.zip
resolve: Scale back unloading of speculatively loaded crates
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/extern-flag/empty-extern-arg.stderr9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/ui/extern-flag/empty-extern-arg.stderr b/tests/ui/extern-flag/empty-extern-arg.stderr
index 6ad3effe0e2..2785b12a0ae 100644
--- a/tests/ui/extern-flag/empty-extern-arg.stderr
+++ b/tests/ui/extern-flag/empty-extern-arg.stderr
@@ -1,6 +1,13 @@
 error: extern location for std does not exist: 
 
+error: `#[panic_handler]` function required, but not found
+
+error: unwinding panics are not supported without std
+   |
+   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
+   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
+
 error: requires `sized` lang_item
 
-error: aborting due to 2 previous errors
+error: aborting due to 4 previous errors