diff options
Diffstat (limited to 'tests/ui/closures/issue-868.rs')
-rw-r--r-- | tests/ui/closures/issue-868.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/closures/issue-868.rs b/tests/ui/closures/issue-868.rs index ce0a3c7ca..df03b191a 100644 --- a/tests/ui/closures/issue-868.rs +++ b/tests/ui/closures/issue-868.rs @@ -1,5 +1,6 @@ // run-pass #![allow(unused_parens)] +#![allow(unit_bindings)] // pretty-expanded FIXME #23616 fn f<T, F>(g: F) -> T where F: FnOnce() -> T { g() } |