summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/unwind-abort.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-eval/unwind-abort.rs')
-rw-r--r--tests/ui/consts/const-eval/unwind-abort.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-eval/unwind-abort.rs b/tests/ui/consts/const-eval/unwind-abort.rs
index 2b0e58166..57959e7db 100644
--- a/tests/ui/consts/const-eval/unwind-abort.rs
+++ b/tests/ui/consts/const-eval/unwind-abort.rs
@@ -8,5 +8,5 @@ const _: () = foo();
// Ensure that the CTFE engine handles calls to `extern "C"` aborting gracefully
fn main() {
- let _ = foo();
+ foo();
}