Skip to content

Commit

Permalink
Rollup merge of rust-lang#102506 - TaKO8Ki:specify-dyn-kind, r=lcnr
Browse files Browse the repository at this point in the history
Specify `DynKind::Dyn`

ref: rust-lang#101212 (comment)
  • Loading branch information
matthiaskrgr authored Sep 30, 2022
2 parents 4c99d4f + 1ca3385 commit de9a8cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
let mut spans_and_needs_box = vec![];

match liberated_sig.output().kind() {
ty::Dynamic(predicates, _, _) => {
ty::Dynamic(predicates, _, ty::Dyn) => {
let cause = ObligationCause::misc(ret_ty.span, fn_hir_id);
let param_env = ty::ParamEnv::empty();

Expand Down

0 comments on commit de9a8cf

Please sign in to comment.