diff options
Diffstat (limited to 'tests/ui/traits/new-solver/fn-trait-closure.rs')
-rw-r--r-- | tests/ui/traits/new-solver/fn-trait-closure.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/traits/new-solver/fn-trait-closure.rs b/tests/ui/traits/new-solver/fn-trait-closure.rs deleted file mode 100644 index bd65737ee..000000000 --- a/tests/ui/traits/new-solver/fn-trait-closure.rs +++ /dev/null @@ -1,8 +0,0 @@ -// compile-flags: -Ztrait-solver=next -// check-pass - -fn require_fn(_: impl Fn() -> i32) {} - -fn main() { - require_fn(|| -> i32 { 1i32 }); -} |