Generalize same_type_modulo_infer

This commit is contained in:
Michael Goulet 2022-07-21 15:45:35 +00:00
parent 8926dac549
commit cd89978d86
2 changed files with 34 additions and 5 deletions

View file

@ -7,8 +7,6 @@ LL | let t8 = t8n(t7, t7p(f, g));
| required by a bound introduced by this call
|
= help: the trait `Fn<(_,)>` is not implemented for `impl Fn(((_, _), _))`
= note: expected a closure with arguments `(((_, _), _),)`
found a closure with arguments `(_,)`
note: required by a bound in `t8n`
--> $DIR/issue-59494.rs:5:45
|