Fix duplicate error
This commit is contained in:
parent
af9de99f12
commit
890de33e4f
5 changed files with 7 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue