rust-analyzer
rust-analyzer copied to clipboard
rust analyzer coerces to never while rustc does not
We should have a test that make type mismatch error without this PR, but it doesn't emit the error, either with or without this PR. https://github.com/rust-lang/rust/pull/129392/files#r1746775782 I'll address it as a new issue
Originally posted by @ShoyuVanilla in https://github.com/rust-lang/rust-analyzer/pull/18278#discussion_r1795846153