]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/issue-3840/version-two_soft-tabs.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / issue-3840 / version-two_soft-tabs.rs
CommitLineData
f20569fa
XL
1// rustfmt-version: Two
2
3impl<Target: FromEvent<A> + FromEvent<B>, A: Widget2<Ctx = C>, B: Widget2<Ctx = C>, C: for<'a> CtxFamily<'a>> Widget2 for WidgetEventLifter<Target, A, B>
4{
5 type Ctx = C;
6 type Event = Vec<Target>;
7}
8
9mod foo {
10 impl<Target: FromEvent<A> + FromEvent<B>, A: Widget2<Ctx = C>, B: Widget2<Ctx = C>, C: for<'a> CtxFamily<'a>> Widget2 for WidgetEventLifter<Target, A, B>
11 {
12 type Ctx = C;
13 type Event = Vec<Target>;
14 }
15}