mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-08 19:28:54 +00:00
d590f6ce12
2592: Add std::ops::Index support for infering r=edwin0cheng a=edwin0cheng see also #2534 Seem like this can't fix #2534 for this case: ```rust fn foo3(bar: [usize; 2]) { let baz = bar[1]; // <--- baz is still unknown ? println!("{}", baz); } ``` Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com> |
||
---|---|---|
.. | ||
infer | ||
tests | ||
traits | ||
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 |