summaryrefslogtreecommitdiffstats
path: root/tests/ui/treat-err-as-bug/panic-causes-oom-112708.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/treat-err-as-bug/panic-causes-oom-112708.stderr')
-rw-r--r--tests/ui/treat-err-as-bug/panic-causes-oom-112708.stderr32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/ui/treat-err-as-bug/panic-causes-oom-112708.stderr b/tests/ui/treat-err-as-bug/panic-causes-oom-112708.stderr
new file mode 100644
index 000000000..2d49071ac
--- /dev/null
+++ b/tests/ui/treat-err-as-bug/panic-causes-oom-112708.stderr
@@ -0,0 +1,32 @@
+error: denote infinite loops with `loop { ... }`
+ --> $DIR/panic-causes-oom-112708.rs:13:5
+ |
+LL | while true {}
+ | ^^^^^^^^^^ help: use `loop`
+ |
+note: the lint level is defined here
+ --> $DIR/panic-causes-oom-112708.rs:12:12
+ |
+LL | #[deny(while_true)]
+ | ^^^^^^^^^^
+
+
+query stack during panic:
+#0 [early_lint_checks] perform lints prior to macro expansion
+#1 [hir_crate] getting the crate HIR
+end of query stack
+
+error: the compiler unexpectedly panicked. this is a bug.
+
+query stack during panic:
+#0 [early_lint_checks] perform lints prior to macro expansion
+#1 [hir_crate] getting the crate HIR
+end of query stack
+
+error: the compiler unexpectedly panicked. this is a bug.
+
+query stack during panic:
+#0 [early_lint_checks] perform lints prior to macro expansion
+#1 [hir_crate] getting the crate HIR
+end of query stack
+thread caused non-unwinding panic. aborting.