summaryrefslogtreecommitdiffstats
path: root/src/test/ui/variance/variance-unused-type-param.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/variance/variance-unused-type-param.stderr
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz
rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/variance/variance-unused-type-param.stderr')
-rw-r--r--src/test/ui/variance/variance-unused-type-param.stderr54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/test/ui/variance/variance-unused-type-param.stderr b/src/test/ui/variance/variance-unused-type-param.stderr
deleted file mode 100644
index e612da118..000000000
--- a/src/test/ui/variance/variance-unused-type-param.stderr
+++ /dev/null
@@ -1,54 +0,0 @@
-error[E0392]: parameter `A` is never used
- --> $DIR/variance-unused-type-param.rs:6:19
- |
-LL | struct SomeStruct<A> { x: u32 }
- | ^ unused parameter
- |
- = help: consider removing `A`, referring to it in a field, or using a marker such as `PhantomData`
- = help: if you intended `A` to be a const parameter, use `const A: usize` instead
-
-error[E0392]: parameter `A` is never used
- --> $DIR/variance-unused-type-param.rs:9:15
- |
-LL | enum SomeEnum<A> { Nothing }
- | ^ unused parameter
- |
- = help: consider removing `A`, referring to it in a field, or using a marker such as `PhantomData`
- = help: if you intended `A` to be a const parameter, use `const A: usize` instead
-
-error[E0392]: parameter `T` is never used
- --> $DIR/variance-unused-type-param.rs:13:15
- |
-LL | enum ListCell<T> {
- | ^ unused parameter
- |
- = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
- = help: if you intended `T` to be a const parameter, use `const T: usize` instead
-
-error[E0392]: parameter `T` is never used
- --> $DIR/variance-unused-type-param.rs:19:19
- |
-LL | struct WithBounds<T: Sized> {}
- | ^ unused parameter
- |
- = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
-
-error[E0392]: parameter `T` is never used
- --> $DIR/variance-unused-type-param.rs:22:24
- |
-LL | struct WithWhereBounds<T> where T: Sized {}
- | ^ unused parameter
- |
- = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
-
-error[E0392]: parameter `T` is never used
- --> $DIR/variance-unused-type-param.rs:25:27
- |
-LL | struct WithOutlivesBounds<T: 'static> {}
- | ^ unused parameter
- |
- = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
-
-error: aborting due to 6 previous errors
-
-For more information about this error, try `rustc --explain E0392`.