try_into
from custom trait misresolved for prelude TryInto
in 2021 edition
#10677
Labels
A-ty
type system / type inference / traits / method resolution
C-bug
Category: bug
S-actionable
Someone could pick this issue up and work on it right now
Environment
rust 1.56.1
rust-analyzer 2021-11-01
edition 2021
Steps to reproduce
try_into
ininternal()
resolves toMyTrait::try_into
mismatched-arg-count
.try_into
ininternal()
resolves toTryInto::try_into
from the prelude.Courtesy of minstrel1977@rustcc
The text was updated successfully, but these errors were encountered: