diff options
| author | Michael Goulet <michael@errs.io> | 2022-12-06 00:00:01 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-12-06 00:19:55 +0000 |
| commit | e940f845be13ff37d4ba28df5f40d74e5b0895a0 (patch) | |
| tree | f4f3ab3c126d3477f9badd88125c54908206543f /compiler/rustc_trait_selection/src | |
| parent | d1449560e31f7f801d81268a3dad783181656dff (diff) | |
| download | rust-e940f845be13ff37d4ba28df5f40d74e5b0895a0.tar.gz rust-e940f845be13ff37d4ba28df5f40d74e5b0895a0.zip | |
drive-by: Default param for ToPredicate
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/mod.rs b/compiler/rustc_trait_selection/src/traits/mod.rs index c6818a4e57d..d3cfd61e195 100644 --- a/compiler/rustc_trait_selection/src/traits/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/mod.rs @@ -150,7 +150,7 @@ pub fn type_known_to_meet_bound_modulo_regions<'tcx>( fn pred_known_to_hold_modulo_regions<'tcx>( infcx: &InferCtxt<'tcx>, param_env: ty::ParamEnv<'tcx>, - pred: impl ToPredicate<'tcx, ty::Predicate<'tcx>> + TypeVisitable<'tcx>, + pred: impl ToPredicate<'tcx> + TypeVisitable<'tcx>, span: Span, ) -> bool { let has_non_region_infer = pred.has_non_region_infer(); |
