Strongly-typed str-wrapper const results in ICE in pattern match #87046
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.
Code
Changing
Username::is_root
and introducingROOT_USER_STR
compiles successfully:Meta
rustc --version --verbose
(Was from the Rust Playground):Error output
Backtrace
The text was updated successfully, but these errors were encountered: