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