ICE with use_self
on trait implementation in seperate file
#4727
Labels
I-ICE
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Most minimal case I could figure out:
lib.rs
:module.rs
:I played around a bit with this, following cases stop the ICE from triggering:
Trait
for&str
instead forstr
module.rs
and having it defined inlib.rs
fun
than indexing astr
The output:
The text was updated successfully, but these errors were encountered: