summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/typeck-builtin-bound-type-parameters.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/typeck/typeck-builtin-bound-type-parameters.stderr87
1 files changed, 0 insertions, 87 deletions
diff --git a/src/test/ui/typeck/typeck-builtin-bound-type-parameters.stderr b/src/test/ui/typeck/typeck-builtin-bound-type-parameters.stderr
deleted file mode 100644
index bf74dd7de..000000000
--- a/src/test/ui/typeck/typeck-builtin-bound-type-parameters.stderr
+++ /dev/null
@@ -1,87 +0,0 @@
-error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
- --> $DIR/typeck-builtin-bound-type-parameters.rs:1:11
- |
-LL | fn foo1<T:Copy<U>, U>(x: T) {}
- | ^^^^--- help: remove these generics
- | |
- | expected 0 generic arguments
- |
-note: trait defined here, with 0 generic parameters
- --> $SRC_DIR/core/src/marker.rs:LL:COL
- |
-LL | pub trait Copy: Clone {
- | ^^^^
-
-error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
- --> $DIR/typeck-builtin-bound-type-parameters.rs:4:14
- |
-LL | trait Trait: Copy<dyn Send> {}
- | ^^^^---------- help: remove these generics
- | |
- | expected 0 generic arguments
- |
-note: trait defined here, with 0 generic parameters
- --> $SRC_DIR/core/src/marker.rs:LL:COL
- |
-LL | pub trait Copy: Clone {
- | ^^^^
-
-error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
- --> $DIR/typeck-builtin-bound-type-parameters.rs:7:21
- |
-LL | struct MyStruct1<T: Copy<T>>;
- | ^^^^--- help: remove these generics
- | |
- | expected 0 generic arguments
- |
-note: trait defined here, with 0 generic parameters
- --> $SRC_DIR/core/src/marker.rs:LL:COL
- |
-LL | pub trait Copy: Clone {
- | ^^^^
-
-error[E0107]: this trait takes 0 lifetime arguments but 1 lifetime argument was supplied
- --> $DIR/typeck-builtin-bound-type-parameters.rs:10:25
- |
-LL | struct MyStruct2<'a, T: Copy<'a>>;
- | ^^^^---- help: remove these generics
- | |
- | expected 0 lifetime arguments
- |
-note: trait defined here, with 0 lifetime parameters
- --> $SRC_DIR/core/src/marker.rs:LL:COL
- |
-LL | pub trait Copy: Clone {
- | ^^^^
-
-error[E0107]: this trait takes 0 lifetime arguments but 1 lifetime argument was supplied
- --> $DIR/typeck-builtin-bound-type-parameters.rs:13:15
- |
-LL | fn foo2<'a, T:Copy<'a, U>, U>(x: T) {}
- | ^^^^ -- help: remove this lifetime argument
- | |
- | expected 0 lifetime arguments
- |
-note: trait defined here, with 0 lifetime parameters
- --> $SRC_DIR/core/src/marker.rs:LL:COL
- |
-LL | pub trait Copy: Clone {
- | ^^^^
-
-error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
- --> $DIR/typeck-builtin-bound-type-parameters.rs:13:15
- |
-LL | fn foo2<'a, T:Copy<'a, U>, U>(x: T) {}
- | ^^^^ - help: remove this generic argument
- | |
- | expected 0 generic arguments
- |
-note: trait defined here, with 0 generic parameters
- --> $SRC_DIR/core/src/marker.rs:LL:COL
- |
-LL | pub trait Copy: Clone {
- | ^^^^
-
-error: aborting due to 6 previous errors
-
-For more information about this error, try `rustc --explain E0107`.