summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/item-free-type-bounds-syntactic-pass.rs
blob: 58fc926d08f3e55975be5a4ae66efa60ba04bd79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-pass

fn main() {}

#[cfg(FALSE)]
fn syntax() {
    type A: Ord;
    type B: Ord = u8;
    type C: Ord where 'static: 'static = u8;
    type D<_T>: Ord;
    type E<_T>: Ord = u8;
    type F<_T>: Ord where 'static: 'static = u8;
}