rust/tests/ui/parser/foreign-ty-syntactic-pass.rs
2023-01-11 09:32:08 +00:00

12 lines
256 B
Rust

// check-pass
fn main() {}
#[cfg(FALSE)]
extern "C" {
type A: Ord;
type A<'a> where 'a: 'static;
type A<T: Ord> where T: 'static;
type A = u8;
type A<'a: 'static, T: Ord + 'static>: Eq + PartialEq where T: 'static + Copy = Vec<u8>;
}