summaryrefslogtreecommitdiffstats
path: root/src/test/ui/bounds-lifetime.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/bounds-lifetime.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/bounds-lifetime.stderr')
-rw-r--r--src/test/ui/bounds-lifetime.stderr32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/test/ui/bounds-lifetime.stderr b/src/test/ui/bounds-lifetime.stderr
deleted file mode 100644
index a0395ed49..000000000
--- a/src/test/ui/bounds-lifetime.stderr
+++ /dev/null
@@ -1,32 +0,0 @@
-error: lifetime bounds cannot be used in this context
- --> $DIR/bounds-lifetime.rs:1:22
- |
-LL | type A = for<'b, 'a: 'b> fn();
- | ^^
-
-error: lifetime bounds cannot be used in this context
- --> $DIR/bounds-lifetime.rs:2:22
- |
-LL | type B = for<'b, 'a: 'b,> fn();
- | ^^
-
-error: lifetime bounds cannot be used in this context
- --> $DIR/bounds-lifetime.rs:3:22
- |
-LL | type C = for<'b, 'a: 'b +> fn();
- | ^^
-
-error: only lifetime parameters can be used in this context
- --> $DIR/bounds-lifetime.rs:4:18
- |
-LL | type D = for<'a, T> fn();
- | ^
-
-error: only lifetime parameters can be used in this context
- --> $DIR/bounds-lifetime.rs:5:18
- |
-LL | type E = dyn for<T> Fn();
- | ^
-
-error: aborting due to 5 previous errors
-