diff options
Diffstat (limited to 'src/tools/rustfmt/tests/source/issue-3840/version-one_hard-tabs.rs')
-rw-r--r-- | src/tools/rustfmt/tests/source/issue-3840/version-one_hard-tabs.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/source/issue-3840/version-one_hard-tabs.rs b/src/tools/rustfmt/tests/source/issue-3840/version-one_hard-tabs.rs new file mode 100644 index 000000000..bf7ea7da0 --- /dev/null +++ b/src/tools/rustfmt/tests/source/issue-3840/version-one_hard-tabs.rs @@ -0,0 +1,15 @@ +// rustfmt-hard_tabs: true + +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>; + } +} |