about summary refs log tree commit diff
path: root/compiler/rustc_save_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-08 04:00:58 +0000
committerbors <bors@rust-lang.org>2021-09-08 04:00:58 +0000
commit72969f6526b6a3ff9f2bbfe73e26249d977794e7 (patch)
tree79047e9b18b82787886563078666119d76de5c14 /compiler/rustc_save_analysis/src
parent0d0d2fe182e8980146e25cfcfff0c481892f81c6 (diff)
parent22ef04e22fc78ce0dcaaf8c8faa5944c983cdc1d (diff)
Auto merge of #88061 - jackh726:genericbound-cleanup, r=estebank
Remove `hir::GenericBound::Unsized`

Rather than "moving" the `?Sized` bounds to the param bounds, just also check where clauses in `astconv`. I also did some related cleanup here, but that's not strictly neccesary. Also going to do a perf run here.

r? `@estebank`
Diffstat (limited to 'compiler/rustc_save_analysis/src')
-rw-r--r--compiler/rustc_save_analysis/src/dump_visitor.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_save_analysis/src/dump_visitor.rs b/compiler/rustc_save_analysis/src/dump_visitor.rs
index 08ed9ec73c8..3e99f4e29ef 100644
--- a/compiler/rustc_save_analysis/src/dump_visitor.rs
+++ b/compiler/rustc_save_analysis/src/dump_visitor.rs
@@ -693,7 +693,6 @@ 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 {