summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4159.rs
blob: 2f8cf20da2c9eb9fcad82a955e72c7e8c09cc0d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>;
}