about summary refs log tree commit diff
path: root/compiler/rustc_save_analysis/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2021-07-23 18:47:53 -0700
committerEsteban Küber <esteban@kuber.com.ar>2021-07-30 08:44:31 -0700
commit15a40c7ee85fff41f34a2b70c28cca3bcdec1015 (patch)
tree1a732d38fc28716a9f4c3a6eb72ae2f5badd0300 /compiler/rustc_save_analysis/src
parent5fb3394cbdf0622c9d0c292feb55db0f4c828dc3 (diff)
downloadrust-15a40c7ee85fff41f34a2b70c28cca3bcdec1015.tar.gz
rust-15a40c7ee85fff41f34a2b70c28cca3bcdec1015.zip
Do not discard `?Sized` type params and suggest their removal
Diffstat (limited to 'compiler/rustc_save_analysis/src')
-rw-r--r--compiler/rustc_save_analysis/src/dump_visitor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_save_analysis/src/dump_visitor.rs b/compiler/rustc_save_analysis/src/dump_visitor.rs
index 4f8dc7d16d4..34302c3fb42 100644
--- a/compiler/rustc_save_analysis/src/dump_visitor.rs
+++ b/compiler/rustc_save_analysis/src/dump_visitor.rs
@@ -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 {