2023-06-21 13:05:15 -05:00
|
|
|
error: denote infinite loops with `loop { ... }`
|
2023-06-27 04:07:14 -05:00
|
|
|
--> $DIR/panic-causes-oom-112708.rs:13:5
|
2023-06-21 13:05:15 -05:00
|
|
|
|
|
|
|
|
LL | while true {}
|
|
|
|
| ^^^^^^^^^^ help: use `loop`
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2023-06-27 04:07:14 -05:00
|
|
|
--> $DIR/panic-causes-oom-112708.rs:12:12
|
2023-06-21 13:05:15 -05:00
|
|
|
|
|
|
|
|
LL | #[deny(while_true)]
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
2023-06-27 04:07:14 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2023-06-21 13:05:15 -05:00
|
|
|
error: the compiler unexpectedly panicked. this is a bug.
|
|
|
|
|
|
|
|
query stack during panic:
|
2023-06-27 04:07:14 -05:00
|
|
|
#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.
|