summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/object/vs-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/traits/object/vs-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/traits/object/vs-lifetime.stderr')
-rw-r--r--src/test/ui/traits/object/vs-lifetime.stderr52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/test/ui/traits/object/vs-lifetime.stderr b/src/test/ui/traits/object/vs-lifetime.stderr
deleted file mode 100644
index 224465228..000000000
--- a/src/test/ui/traits/object/vs-lifetime.stderr
+++ /dev/null
@@ -1,52 +0,0 @@
-error[E0224]: at least one trait is required for an object type
- --> $DIR/vs-lifetime.rs:9:23
- |
-LL | let _: S<'static, dyn 'static +>;
- | ^^^^^^^^^^^^^
-
-error[E0107]: this struct takes 1 lifetime argument but 2 lifetime arguments were supplied
- --> $DIR/vs-lifetime.rs:11:12
- |
-LL | let _: S<'static, 'static>;
- | ^ ------- help: remove this lifetime argument
- | |
- | expected 1 lifetime argument
- |
-note: struct defined here, with 1 lifetime parameter: `'a`
- --> $DIR/vs-lifetime.rs:4:8
- |
-LL | struct S<'a, T>(&'a u8, T);
- | ^ --
-
-error[E0107]: this struct takes 1 generic argument but 0 generic arguments were supplied
- --> $DIR/vs-lifetime.rs:11:12
- |
-LL | let _: S<'static, 'static>;
- | ^ expected 1 generic argument
- |
-note: struct defined here, with 1 generic parameter: `T`
- --> $DIR/vs-lifetime.rs:4:8
- |
-LL | struct S<'a, T>(&'a u8, T);
- | ^ -
-help: add missing generic argument
- |
-LL | let _: S<'static, 'static, T>;
- | +++
-
-error[E0224]: at least one trait is required for an object type
- --> $DIR/vs-lifetime.rs:14:14
- |
-LL | let _: S<dyn 'static +, 'static>;
- | ^^^^^^^^^^^^^
-
-error[E0747]: type provided when a lifetime was expected
- --> $DIR/vs-lifetime.rs:14:14
- |
-LL | let _: S<dyn 'static +, 'static>;
- | ^^^^^^^^^^^^^
-
-error: aborting due to 5 previous errors
-
-Some errors have detailed explanations: E0107, E0224, E0747.
-For more information about an error, try `rustc --explain E0107`.