]> git.lizzy.rs Git - rust.git/commit
Merge #5211
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 3 Jul 2020 16:18:34 +0000 (16:18 +0000)
committerGitHub <noreply@github.com>
Fri, 3 Jul 2020 16:18:34 +0000 (16:18 +0000)
commit7ad7f3ca8ca7503e3749e93a80ec1b7aa1491e6c
tree43dbcb044394d4c6c12a183b578abb14b27a5892
parent0f68fed4a0701330e0296f6623567e5584f2f7ba
parent57feb323f79d1d7f7dd6251d4606ba12a800953a
Merge #5211

5211: Fix inference of indexing argument (partly) r=flodiebold a=flodiebold

We need to add the `T: Index<Arg>` obligation to be resolved later as well, otherwise we can't make inferences about `Arg` later based on the `Index` impls.

This still doesn't fix indexing with integer variables though; there's a further problem with Chalk floundering because of the variable, I think.

Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>