diff options
Diffstat (limited to 'tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.rs')
-rw-r--r-- | tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.rs b/tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.rs deleted file mode 100644 index 1a9bb2523..000000000 --- a/tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn a() where for<T> T: Copy {} -//~^ ERROR only lifetime parameters can be used in this context - -fn b() where for<const C: usize> [(); C]: Copy {} -//~^ ERROR only lifetime parameters can be used in this context - -fn main() {} |