Skip to content

Commit

Permalink
Fix build against latest nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Jun 14, 2024
1 parent ee72e45 commit 48e039f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preempt_count/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ memoize!(
.predicates
.into_iter()
.filter_map(|(pred, _)| {
pred.instantiate_supertrait(cx.tcx, &trait_ref)
pred.instantiate_supertrait(cx.tcx, trait_ref)
.as_trait_clause()
});
for supertrait in super_traits {
Expand Down

0 comments on commit 48e039f

Please sign in to comment.