Skip to content

Commit daddf4d

Browse files
committed
fix another ICE
1 parent a38eae5 commit daddf4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_privacy/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ impl<'a, 'tcx> Visitor<'tcx> for TypePrivacyVisitor<'a, 'tcx> {
12431243
trait_ref,
12441244
// NOTE: This isn't really right, but the actual type doesn't matter here. It's
12451245
// just required by `ty::TraitRef`.
1246-
self.tcx.types.trait_object_dummy_self,
1246+
self.tcx.types.never,
12471247
);
12481248

12491249
for (trait_predicate, _, _) in bounds.trait_bounds {

0 commit comments

Comments
 (0)