diff options
Diffstat (limited to 'tests/ui/fn/fn-trait-formatting.rs')
-rw-r--r-- | tests/ui/fn/fn-trait-formatting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/fn/fn-trait-formatting.rs b/tests/ui/fn/fn-trait-formatting.rs index 636ac7107..61a8791ab 100644 --- a/tests/ui/fn/fn-trait-formatting.rs +++ b/tests/ui/fn/fn-trait-formatting.rs @@ -17,5 +17,5 @@ fn main() { //~| found struct `Box<dyn FnMut() -> isize>` needs_fn(1); - //~^ ERROR expected a `Fn<(isize,)>` closure, found `{integer}` + //~^ ERROR expected a `Fn(isize)` closure, found `{integer}` } |