rust/tests/ui/parser/foreign-ty-syntactic-pass.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
257 B
Rust
Raw Normal View History

//@ 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>;
}