mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
33 lines
903 B
Plaintext
33 lines
903 B
Plaintext
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.
|