]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #79945 - jackh726:existential_trait_ref, r=nikomatsakis
authorbors <bors@rust-lang.org>
Thu, 17 Dec 2020 18:21:20 +0000 (18:21 +0000)
committerbors <bors@rust-lang.org>
Thu, 17 Dec 2020 18:21:20 +0000 (18:21 +0000)
Move binder for dyn to each list item

This essentially changes `ty::Binder<&'tcx List<ExistentialTraitRef>>` to `&'tcx List<ty::Binder<ExistentialTraitRef>>`.

This is a first step in moving the `dyn Trait` representation closer to Chalk, which we've talked about in `@rust-lang/wg-traits.`

r? `@nikomatsakis`

1  2 
compiler/rustc_middle/src/ty/codec.rs
compiler/rustc_middle/src/ty/context.rs
compiler/rustc_middle/src/ty/sty.rs
compiler/rustc_trait_selection/src/traits/select/confirmation.rs
compiler/rustc_typeck/src/check/method/suggest.rs

Simple merge
Simple merge