Do not discard ?Sized type params and suggest their removal
This commit is contained in:
@@ -689,6 +689,7 @@ impl<'tcx> DumpVisitor<'tcx> {
|
||||
(Some(self.tcx.require_lang_item(lang_item, Some(span))), span)
|
||||
}
|
||||
hir::GenericBound::Outlives(..) => continue,
|
||||
hir::GenericBound::Unsized(_) => continue,
|
||||
};
|
||||
|
||||
if let Some(id) = def_id {
|
||||
|
||||
Reference in New Issue
Block a user