summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3740.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-3740.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-3740.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-3740.rs b/src/tools/rustfmt/tests/target/issue-3740.rs
new file mode 100644
index 000000000..995a6bee3
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-3740.rs
@@ -0,0 +1,8 @@
+impl<T, const SIZE: usize> IntoNormalized for Vector<T, { SIZE }>
+where
+ Vector<T, { SIZE }>: Div<Vector<T, { SIZE }>>,
+ for<'a> &'a Vector<T, { SIZE }>: IntoLength<Output = T>,
+{
+ type Output = Vector<T, { SIZE }>;
+ fn into_normalized(self) -> Self::Output {}
+}