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