]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3840/version-one_hard-tabs.rs
Auto merge of #85332 - RalfJung:ptr-in-str, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / target / issue-3840 / version-one_hard-tabs.rs
1 // rustfmt-hard_tabs: true
2
3 impl<
4                 Target: FromEvent<A> + FromEvent<B>,
5                 A: Widget2<Ctx = C>,
6                 B: Widget2<Ctx = C>,
7                 C: for<'a> CtxFamily<'a>,
8         > Widget2 for WidgetEventLifter<Target, A, B>
9 {
10         type Ctx = C;
11         type Event = Vec<Target>;
12 }
13
14 mod foo {
15         impl<
16                         Target: FromEvent<A> + FromEvent<B>,
17                         A: Widget2<Ctx = C>,
18                         B: Widget2<Ctx = C>,
19                         C: for<'a> CtxFamily<'a>,
20                 > Widget2 for WidgetEventLifter<Target, A, B>
21         {
22                 type Ctx = C;
23                 type Event = Vec<Target>;
24         }
25 }