]> git.lizzy.rs Git - rust.git/commitdiff
Merge #6921
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sun, 20 Dec 2020 11:47:01 +0000 (11:47 +0000)
committerGitHub <noreply@github.com>
Sun, 20 Dec 2020 11:47:01 +0000 (11:47 +0000)
6921: Higher-ranked trait bounds for where clauses r=flodiebold a=Veykril

There is a slight problem with this which is also noted in a FIXME now but `LifetimeParameters` of these ForLifetime where clauses allocate the lifetimes in the corresponding arena as if they were lifetimes of the item itself and not just the clause they belong to. I wasn't entirely sure what I could do about this but given nothing really uses lifetimes like that currently I figured it might be fine? Open to suggestions for that problem.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
1  2 
crates/hir/src/code_model.rs
crates/ide/src/goto_definition.rs

Simple merge
Simple merge