1
Fork 0

Fix duplicate error

This commit is contained in:
jackh726 2021-09-07 18:51:24 -04:00
parent af9de99f12
commit 890de33e4f
5 changed files with 7 additions and 27 deletions

View file

@ -55,6 +55,7 @@ impl<'a, 'tcx> NiceRegionError<'a, 'tcx> {
} = origin
{
self.emit_associated_type_err(span, item_name, impl_item_def_id, trait_item_def_id);
return Some(ErrorReported);
}
}
None