-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc panics if output is set to directory while pretty printing #100770
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
To reproduce:
|
@rustbot claim |
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 28, 2022
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 28, 2022
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 28, 2022
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 28, 2022
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 31, 2022
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 31, 2022
…, r=petrochenkov Pretty printing give proper error message without panic Fixes rust-lang#100770
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
rustc 1.65.0-nightly (0b79f758c 2022-08-18)
If you
rustc ./a.rs -o/tmp/
, you get a normal error likebut if you try to
-Zunpretty
at the same time:rustc ./a.rs -o/tmp/ -Zunpretty=ast-tree
rust will panic which is a bit weird. Mayne that panic should be demoted to a regular error?
The text was updated successfully, but these errors were encountered: