Files
rust/tests/ui/coercion
bors 1f7f8ea072 Auto merge of #153869 - ShoyuVanilla:issue-153816, r=lcnr
Do not shallow resolve to root var while fudging



Fixes https://github.com/rust-lang/rust/issues/153816 and fixes https://github.com/rust-lang/rust/issues/153849

In https://github.com/rust-lang/rust/pull/151380, I thought that whether shallow resolve to root var or not wouldn't affect the actual type inferencing, but it isn't true for the fudge, in which we discard all newly created relationships between unresolved inference variables 😅

r? lcnr
2026-03-19 12:14:32 +00:00
..