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.
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: