summaryrefslogtreecommitdiffstats
path: root/tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.stderr')
-rw-r--r--tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.stderr21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.stderr b/tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.stderr
deleted file mode 100644
index 765ea9f78..000000000
--- a/tests/ui/higher-rank-trait-bounds/hrtb-wrong-kind.stderr
+++ /dev/null
@@ -1,21 +0,0 @@
-error[E0658]: only lifetime parameters can be used in this context
- --> $DIR/hrtb-wrong-kind.rs:1:18
- |
-LL | fn a() where for<T> T: Copy {}
- | ^
- |
- = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
- = help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
-
-error[E0658]: only lifetime parameters can be used in this context
- --> $DIR/hrtb-wrong-kind.rs:4:24
- |
-LL | fn b() where for<const C: usize> [(); C]: Copy {}
- | ^
- |
- = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
- = help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable
-
-error: aborting due to 2 previous errors
-
-For more information about this error, try `rustc --explain E0658`.