diff options
Diffstat (limited to 'tests/ui/parser/bounds-obj-parens.rs')
| -rw-r--r-- | tests/ui/parser/bounds-obj-parens.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/parser/bounds-obj-parens.rs b/tests/ui/parser/bounds-obj-parens.rs index eea4bccdc09..5ba90b50d2f 100644 --- a/tests/ui/parser/bounds-obj-parens.rs +++ b/tests/ui/parser/bounds-obj-parens.rs @@ -1,7 +1,5 @@ //@ check-pass -#![allow(bare_trait_objects)] - -type A = Box<(Fn(u8) -> u8) + 'static + Send + Sync>; // OK (but see #39318) +type A = Box<dyn (Fn(u8) -> u8) + 'static + Send + Sync>; // OK (but see #39318) fn main() {} |
