]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/issue-3840/version-two_soft-tabs.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / target / issue-3840 / version-two_soft-tabs.rs
CommitLineData
f20569fa
XL
1// rustfmt-version: Two
2
3impl<
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
14mod 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}