-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid calling queries during query stack printing
- Loading branch information
Showing
5 changed files
with
38 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
error: denote infinite loops with `loop { ... }` | ||
--> $DIR/panic-causes-oom-112708.rs:10:5 | ||
--> $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:9:12 | ||
--> $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: | ||
thread panicked while processing panic. aborting. | ||
#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. |