diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-31 13:45:26 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-01-09 21:08:16 +0000 |
| commit | 0978f6e010e0eb3dddfa2a1a374ae5567e1f7f4c (patch) | |
| tree | 088de30be238d47fcc5889f5e5eae9298366e92b /tests/ui/suggestions/fn-trait-notation.rs | |
| parent | be00c5a9b89161b7f45ba80340f709e8e41122f9 (diff) | |
| download | rust-0978f6e010e0eb3dddfa2a1a374ae5567e1f7f4c.tar.gz rust-0978f6e010e0eb3dddfa2a1a374ae5567e1f7f4c.zip | |
Avoid silencing relevant follow-up errors
Diffstat (limited to 'tests/ui/suggestions/fn-trait-notation.rs')
| -rw-r--r-- | tests/ui/suggestions/fn-trait-notation.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/suggestions/fn-trait-notation.rs b/tests/ui/suggestions/fn-trait-notation.rs index f0bb03315d9..91251614930 100644 --- a/tests/ui/suggestions/fn-trait-notation.rs +++ b/tests/ui/suggestions/fn-trait-notation.rs @@ -2,6 +2,7 @@ fn e0658<F, G, H>(f: F, g: G, h: H) -> i32 where F: Fn<i32, Output = i32>, //~ ERROR E0658 + //~^ ERROR E0059 G: Fn<(i32, i32, ), Output = (i32, i32)>, //~ ERROR E0658 H: Fn<(i32,), Output = i32>, //~ ERROR E0658 { |
