]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3840/version-one_soft-tabs.rs
Rollup merge of #85274 - luqmana:linker-is-gnu-gc-sections, r=petrochenkov
[rust.git] / src / tools / rustfmt / tests / target / issue-3840 / version-one_soft-tabs.rs
1 impl<
2         Target: FromEvent<A> + FromEvent<B>,
3         A: Widget2<Ctx = C>,
4         B: Widget2<Ctx = C>,
5         C: for<'a> CtxFamily<'a>,
6     > Widget2 for WidgetEventLifter<Target, A, B>
7 {
8     type Ctx = C;
9     type Event = Vec<Target>;
10 }
11
12 mod foo {
13     impl<
14             Target: FromEvent<A> + FromEvent<B>,
15             A: Widget2<Ctx = C>,
16             B: Widget2<Ctx = C>,
17             C: for<'a> CtxFamily<'a>,
18         > Widget2 for WidgetEventLifter<Target, A, B>
19     {
20         type Ctx = C;
21         type Event = Vec<Target>;
22     }
23 }