suggest one-argument enum variant to fix type mismatch when applicable
Most notably, this will suggest `Some(x)` when the expected type was an Option<T> but we got an x: T. Resolves #42764.
Showing
想要评论请 注册 或 登录
Most notably, this will suggest `Some(x)` when the expected type was an Option<T> but we got an x: T. Resolves #42764.