rollup merge of #17613 : bkoropoff/issue-17593
This commit is contained in:
commit
29216b5e5c
@ -49,7 +49,7 @@ impl<'cx, 'tcx> OverlapChecker<'cx, 'tcx> {
|
||||
|
||||
// FIXME -- it seems like this method actually pushes
|
||||
// duplicate impls onto the list
|
||||
ty::populate_implementations_for_type_if_necessary(self.tcx,
|
||||
ty::populate_implementations_for_trait_if_necessary(self.tcx,
|
||||
trait_def_id);
|
||||
|
||||
let mut impls = Vec::new();
|
||||
|
@ -15,7 +15,9 @@
|
||||
extern crate trait_impl_conflict;
|
||||
use trait_impl_conflict::Foo;
|
||||
|
||||
impl<A> Foo for A { //~ ERROR E0117
|
||||
impl<A> Foo for A {
|
||||
//~^ ERROR E0117
|
||||
//~^^ ERROR E0119
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user