diff options
Diffstat (limited to 'src/test/ui/issues/issue-43784-supertrait.stderr')
| -rw-r--r-- | src/test/ui/issues/issue-43784-supertrait.stderr | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-43784-supertrait.stderr b/src/test/ui/issues/issue-43784-supertrait.stderr new file mode 100644 index 00000000000..8646b315abd --- /dev/null +++ b/src/test/ui/issues/issue-43784-supertrait.stderr @@ -0,0 +1,16 @@ +error[E0601]: `main` function not found in crate `issue_43784_supertrait` + | + = note: consider adding a `main` function to `$DIR/issue-43784-supertrait.rs` + +error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied + --> $DIR/issue-43784-supertrait.rs:18:9 + | +LL | impl<T> Complete for T {} //~ ERROR the trait bound `T: std::marker::Copy` is not satisfied + | ^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T` + | + = help: consider adding a `where T: std::marker::Copy` bound + +error: aborting due to 2 previous errors + +Some errors occurred: E0277, E0601. +For more information about an error, try `rustc --explain E0277`. |
