Skip to content

Commit

Permalink
fix another ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Apr 8, 2020
1 parent a38eae5 commit daddf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_privacy/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ impl<'a, 'tcx> Visitor<'tcx> for TypePrivacyVisitor<'a, 'tcx> {
trait_ref,
// NOTE: This isn't really right, but the actual type doesn't matter here. It's
// just required by `ty::TraitRef`.
self.tcx.types.trait_object_dummy_self,
self.tcx.types.never,
);

for (trait_predicate, _, _) in bounds.trait_bounds {
Expand Down

0 comments on commit daddf4d

Please sign in to comment.