]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #37752 - arielb1:incoherent-error, r=nikomatsakis
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 17 Nov 2016 18:40:57 +0000 (19:40 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Nov 2016 18:40:57 +0000 (19:40 +0100)
coherence: skip impls with an erroneous trait ref

Impls with a erroneous trait ref are already ignored in the first part
of coherence, so ignore them in the second part too. This avoids
cascading coherence errors when 1 impl of a trait has an error.

r? @nikomatsakis


Trivial merge