rust/src/test/ui/parser/bounds-obj-parens.rs

5 lines
131 B
Rust
Raw Normal View History

2018-10-20 16:02:06 -05:00
// compile-pass
// compile-flags: -Z parse-only
2017-03-16 16:47:32 -05:00
type A = Box<(Fn(D::Error) -> E) + 'static + Send + Sync>; // OK (but see #39318)