mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
Bind the right number of variables in the FnPointer
This commit is contained in:
parent
e6fdb38d38
commit
cee9a7e26a
@ -68,7 +68,7 @@ impl InferenceContext<'_> {
|
||||
|
||||
cov_mark::hit!(dyn_fn_param_informs_call_site_closure_signature);
|
||||
return Some(FnPointer {
|
||||
num_binders: 0,
|
||||
num_binders: bound.len(&Interner),
|
||||
sig: FnSig {
|
||||
abi: (),
|
||||
safety: chalk_ir::Safety::Safe,
|
||||
|
Loading…
Reference in New Issue
Block a user