summaryrefslogtreecommitdiff
path: root/src/tools/rustfmt/tests/target/negative-bounds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/negative-bounds.rs')
-rw-r--r--src/tools/rustfmt/tests/target/negative-bounds.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/negative-bounds.rs b/src/tools/rustfmt/tests/target/negative-bounds.rs
new file mode 100644
index 00000000000..4fb35cccf66
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/negative-bounds.rs
@@ -0,0 +1,11 @@
+fn negative()
+where
+ i32: !Copy,
+{
+}
+
+fn maybe_const_negative()
+where
+ i32: ~const !Copy,
+{
+}