mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 11:33:04 +00:00
specify DynKind::Dyn
This commit is contained in:
parent
65445a571c
commit
1ca33851df
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user