2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2017-01-19 04:28:45 -06:00
|
|
|
|
2019-05-28 13:45:27 -05:00
|
|
|
#![allow(bare_trait_objects)]
|
|
|
|
|
2019-01-06 09:33:05 -06:00
|
|
|
type A = Box<(Fn(u8) -> u8) + 'static + Send + Sync>; // OK (but see #39318)
|
|
|
|
|
|
|
|
fn main() {}
|