]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #61812 - jonas-schievink:assoc-ty-defaults, r=nikomatsakis
authorbors <bors@rust-lang.org>
Wed, 26 Feb 2020 09:27:06 +0000 (09:27 +0000)
committerbors <bors@rust-lang.org>
Wed, 26 Feb 2020 09:27:06 +0000 (09:27 +0000)
commit3a0d106109d73ed2e45a9925a9512ade2afb7df9
treeb1fea686c8ac421d4387c9a7d42337346b6ba7e8
parent46f5aa93d47e9077775ad9038970fd4c77abaad7
parent6cc268b9efcfa6d74e20b0c95e715cb05f41b19e
Auto merge of #61812 - jonas-schievink:assoc-ty-defaults, r=nikomatsakis

Implement RFC 2532 – Associated Type Defaults

This is a partial implementation that is still missing the changes to object types, since I ran into some trouble while implementing that. I'm opening this part already to get feedback on the implementation and the unexpected test fallout (see my comments below). The remaining changes can be done in a later PR.

Blockers before this can land:
* [x] Resolve unsoundness around interaction with specialization (https://github.com/rust-lang/rust/pull/61812#discussion_r300504010) - #64564

cc https://github.com/rust-lang/rust/issues/29661
Fixes #53907
Fixes #54182
Fixes #62211
Fixes #41868
Fixes #63593
Fixes #47385
Fixes #43924
Fixes #32350
Fixes #26681
Fixes https://github.com/rust-lang/rust/issues/67187
src/librustc_typeck/check/wfcheck.rs