]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #105493 - WaffleLapkin:unchoke-r-a, r=Nilstrieb
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 16 Dec 2022 23:45:50 +0000 (00:45 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Dec 2022 23:45:50 +0000 (00:45 +0100)
Help rust-analyzer normalize query return types

See [zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/rustc.20query.20types.20are.20not.20normalized.20since.20recently/near/312686086), since https://github.com/rust-lang/rust/pull/103808, rust analyzer doesn't normalize return types of queries. This is because r-a doesn't support associated type defaults (yet).

The easiest fix is to not use associated type defaults (duh), which this PR does.

r? `@cjgillot`


Trivial merge