type inference fails when using matching on an Option
using .into()
on an impl Into<Option<T>>
#17307
Labels
C-bug
Category: bug
rust-analyzer version: 0.3.1975-standalone
rustc version: rustc 1.78.0 (9b00956e5 2024-04-29)
editor or extension: VSCode 1.89.1
code snippet to reproduce:
i'm expecting
f1
andf2
to give melet x: T
likef3
does, but instead i getlet x: {unknown}
also
f1
andf2
compile regardlessThe text was updated successfully, but these errors were encountered: