rustc panic on invalid input (maybe due to name collision)? #119933
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I made an error where I forgot to include the
&self
in this minimal trait example. Also, there were multiple trait methods with the same name. It seems like the combination of these things causes a rustc panic.Code
This is currently reproducible in this Rust Playground https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=eb7703a056233d9756edffd5eadcd3e6
Meta
rustc --version --verbose
:Error output
Backtrace
The compiler backtrace is in the error message. I'm not able to get a backtrace of my own code.
The text was updated successfully, but these errors were encountered: