Do not discard ?Sized
type params and suggest their removal
This commit is contained in:
parent
5fb3394cbd
commit
15a40c7ee8
32 changed files with 615 additions and 19 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue