about summary refs log tree commit diff
path: root/tests/ui/impl-trait/struct-field-fragment-in-name.rs
blob: b98cd864ccb466b2ce5d856f0cb498aeabe91a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ check-pass

trait Trait<T> {}

fn a(_: impl Trait<
    [(); {
        struct D {
            #[rustfmt::skip]
            bar: (),
        }
        0
    }],
>) {
}

fn main() {}