about summary refs log tree commit diff
path: root/tests/ui/rustc-env/min-stack-banana.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-05-19 17:25:25 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-05-19 18:28:14 -0700
commit9985821b2fe20a969b799ec920563170fcc45d8f (patch)
treecb0b0ee7572eb3fafa3e312844d290d6b2db91d0 /tests/ui/rustc-env/min-stack-banana.rs
parentdef6b99b4a8e1362c9271e39de68e63cacac11ec (diff)
downloadrust-9985821b2fe20a969b799ec920563170fcc45d8f.tar.gz
rust-9985821b2fe20a969b799ec920563170fcc45d8f.zip
defrost RUST_MIN_STACK=ice rustc hello.rs
An earlier commit included the change for a suggestion here.
Unfortunately, it also used unwrap instead of dying properly.
Roll out the ~~rice paper~~ EarlyDiagCtxt before we do anything that
might leave a mess.
Diffstat (limited to 'tests/ui/rustc-env/min-stack-banana.rs')
-rw-r--r--tests/ui/rustc-env/min-stack-banana.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/rustc-env/min-stack-banana.rs b/tests/ui/rustc-env/min-stack-banana.rs
new file mode 100644
index 00000000000..abbb6843710
--- /dev/null
+++ b/tests/ui/rustc-env/min-stack-banana.rs
@@ -0,0 +1,2 @@
+//@ rustc-env:RUST_MIN_STACK=banana
+fn main() {}