]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-43784-supertrait.stderr
Auto merge of #53248 - nikomatsakis:nll-trivial-sized-predicate, r=eddyb
[rust.git] / src / test / ui / issues / issue-43784-supertrait.stderr
1 error[E0601]: `main` function not found in crate `issue_43784_supertrait`
2    |
3    = note: consider adding a `main` function to `$DIR/issue-43784-supertrait.rs`
4
5 error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied
6   --> $DIR/issue-43784-supertrait.rs:18:9
7    |
8 LL | impl<T> Complete for T {} //~ ERROR the trait bound `T: std::marker::Copy` is not satisfied
9    |         ^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T`
10    |
11    = help: consider adding a `where T: std::marker::Copy` bound
12
13 error: aborting due to 2 previous errors
14
15 Some errors occurred: E0277, E0601.
16 For more information about an error, try `rustc --explain E0277`.