summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3840/version-two_hard-tabs.rs
blob: 084db3d14656198d1084ab108281062965e6e0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// rustfmt-hard_tabs: true
// rustfmt-version: Two

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>
{
	type Ctx = C;
	type Event = Vec<Target>;
}

mod foo {
	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>
	{
		type Ctx = C;
		type Event = Vec<Target>;
	}
}