rust/crates
bors[bot] d590f6ce12
Merge #2592
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>
2019-12-20 14:36:53 +00:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Forbid <T>::foo syntax in mod paths 2019-12-18 17:41:33 +01:00
ra_batch Support setting cargo features 2019-12-13 18:16:34 +08:00
ra_cfg
ra_cli Remove ty from code_model 2019-12-08 12:44:14 +01:00
ra_db Run rustfmt with respect to Cargo.toml edition 2019-12-04 23:05:01 +01:00
ra_fmt fix 2190; add test for "replace if let with match" 2019-11-20 19:01:06 +01:00
ra_hir Fix resolve for field init shorthand 2019-12-20 14:48:14 +01:00
ra_hir_def Merge #2592 2019-12-20 14:36:53 +00:00
ra_hir_expand Add std::ops::Index support for infering 2019-12-19 12:45:07 +08:00
ra_hir_ty Merge #2592 2019-12-20 14:36:53 +00:00
ra_ide Fix resolve for field init shorthand 2019-12-20 14:48:14 +01:00
ra_lsp_server Do not add any new configuration parameters 2019-12-19 16:18:09 +02:00
ra_mbe Refactor macro tests 2019-12-19 16:23:23 +01:00
ra_parser Touch up TokenSet a bit 2019-12-19 17:13:33 +01:00
ra_prof
ra_project_model Use all-features by default 2019-12-14 17:05:12 +01:00
ra_syntax Improve recovery for incomplete lambdas 2019-12-17 12:11:01 +01:00
ra_text_edit
ra_tt Refactoring 2019-12-18 13:10:37 +08:00
ra_vfs_glob
test_utils Refactor goto tests to always specify texts 2019-12-18 16:00:35 +01:00