]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-4244.rs
:arrow_up: rust-analyzer
[rust.git] / src / tools / rustfmt / tests / target / issue-4244.rs
1 pub struct SS {}
2
3 pub type A /* A Comment */ = SS;
4
5 pub type B // Comment
6     // B
7     = SS;
8
9 pub type C
10     /* Comment C */
11     = SS;
12
13 pub trait D<T> {
14     type E /* Comment E */ = SS;
15 }
16
17 type F<'a: 'static, T: Ord + 'static>: Eq + PartialEq
18 where
19     T: 'static + Copy, /* x */
20 = Vec<u8>;