mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
85d44cad45
This fixes an issue where the following code sample would fail to infer the type contained in the option: ```rust fn main() { let mut end = None; // TODO: Fix inference for this in RA loop { end = Some(true); } } ``` |
||
---|---|---|
.. | ||
infer | ||
tests | ||
traits | ||
_match.rs | ||
autoderef.rs | ||
db.rs | ||
diagnostics.rs | ||
display.rs | ||
expr.rs | ||
infer.rs | ||
lib.rs | ||
lower.rs | ||
marks.rs | ||
method_resolution.rs | ||
op.rs | ||
primitive.rs | ||
test_db.rs | ||
tests.rs | ||
traits.rs | ||
utils.rs |