From: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2019 14:36:53 +0000 (+0000) Subject: Merge #2592 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d590f6ce12bf4d0311138846e26951b613f0afd4;p=rust.git 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 --- d590f6ce12bf4d0311138846e26951b613f0afd4