mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 01:52:51 +00:00
f7f01dd5f0
4651: Use first match branch in case of type mismatch, not last r=kjeremy a=flodiebold The comment says this was intentional, but I do agree with #4304 that it makes more sense the other way around (for if/else as well). Fixes #4304. Co-authored-by: Florian Diebold <florian.diebold@freiheit.com> |
||
---|---|---|
.. | ||
infer | ||
tests | ||
traits | ||
_match.rs | ||
autoderef.rs | ||
db.rs | ||
diagnostics.rs | ||
display.rs | ||
expr.rs | ||
infer.rs | ||
lib.rs | ||
lower.rs | ||
method_resolution.rs | ||
op.rs | ||
primitive.rs | ||
test_db.rs | ||
tests.rs | ||
traits.rs | ||
utils.rs |