]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #23515: nikomatsakis/issue-14985-trait-subtyping
authorAlex Crichton <alex@alexcrichton.com>
Mon, 23 Mar 2015 22:08:13 +0000 (15:08 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 23 Mar 2015 22:08:13 +0000 (15:08 -0700)
Remove incorrect subtyping for `&mut Trait` and introduce coercion for `&mut (Trait+'a)` to `&mut (Trait+'b)` if `'a:'b`.

Fixes #14985.

r? @nrc


Trivial merge