diff options
| author | Michael Goulet <michael@errs.io> | 2021-11-19 20:51:44 -0800 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2021-11-23 10:34:17 -0800 |
| commit | 9ae575c795a809f2a25ce487cfb0297511297a8a (patch) | |
| tree | 39edc125ef0c7fbd21391956de7919d4449aba3b /src/test/ui/issues | |
| parent | 471334e99617e20a2165b035241e6aa51bb29628 (diff) | |
| download | rust-9ae575c795a809f2a25ce487cfb0297511297a8a.tar.gz rust-9ae575c795a809f2a25ce487cfb0297511297a8a.zip | |
Update test outputs
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-59494.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/issues/issue-59494.stderr | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/issues/issue-59494.rs b/src/test/ui/issues/issue-59494.rs index 06b8eb777c0..65ef436129e 100644 --- a/src/test/ui/issues/issue-59494.rs +++ b/src/test/ui/issues/issue-59494.rs @@ -19,5 +19,5 @@ fn main() { let g = |(a, _)| a; let t7 = |env| |a| |b| t7p(f, g)(((env, a), b)); let t8 = t8n(t7, t7p(f, g)); - //~^ ERROR: expected a `Fn<(_,)>` closure, found `impl Fn<(((_, _), _),)> + //~^ ERROR: expected a `Fn<(_,)>` closure, found `impl Fn(((_, _), _)) -> ()` [E0277] } diff --git a/src/test/ui/issues/issue-59494.stderr b/src/test/ui/issues/issue-59494.stderr index 9b7fe1ef786..0af54f567f0 100644 --- a/src/test/ui/issues/issue-59494.stderr +++ b/src/test/ui/issues/issue-59494.stderr @@ -1,12 +1,12 @@ -error[E0277]: expected a `Fn<(_,)>` closure, found `impl Fn<(((_, _), _),)>` +error[E0277]: expected a `Fn<(_,)>` closure, found `impl Fn(((_, _), _)) -> ()` --> $DIR/issue-59494.rs:21:22 | LL | let t8 = t8n(t7, t7p(f, g)); - | --- ^^^^^^^^^ expected an `Fn<(_,)>` closure, found `impl Fn<(((_, _), _),)>` + | --- ^^^^^^^^^ expected an `Fn<(_,)>` closure, found `impl Fn(((_, _), _)) -> ()` | | | required by a bound introduced by this call | - = help: the trait `Fn<(_,)>` is not implemented for `impl Fn<(((_, _), _),)>` + = help: the trait `Fn<(_,)>` is not implemented for `impl Fn(((_, _), _)) -> ()` note: required by a bound in `t8n` --> $DIR/issue-59494.rs:5:45 | |
