diff options
| author | Michael Goulet <michael@errs.io> | 2023-04-26 22:37:36 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-05-02 22:36:25 +0000 |
| commit | 6fca051b76342f8c21ec85fb9a77103b7c05adb9 (patch) | |
| tree | 131ad03e450681825c57fa283b214370f1a9cd7b /src/tools/rustfmt/tests | |
| parent | 03469c3f2e5f7318b9dd47483f5656b321880408 (diff) | |
Rustfmt support for negative bounds, test
Diffstat (limited to 'src/tools/rustfmt/tests')
| -rw-r--r-- | src/tools/rustfmt/tests/target/negative-bounds.rs | 11 |
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, +{ +} |
