summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4244.rs
blob: 8958ba99e80a73a615fbcbbd7cc6f1af42d1a9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pub struct SS {}

pub type A /* A Comment */ = SS;

pub type B // Comment
    // B
    = SS;

pub type C
    /* Comment C */
    = SS;

pub trait D<T> {
    type E /* Comment E */ = SS;
}

type F<'a: 'static, T: Ord + 'static>: Eq + PartialEq
where
    T: 'static + Copy, /* x */
= Vec<u8>;