]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-1937-termination-trait/issue-103052-2.stderr
Auto merge of #106025 - matthiaskrgr:rollup-vz5rqah, r=matthiaskrgr
[rust.git] / src / test / ui / rfc-1937-termination-trait / issue-103052-2.stderr
1 error[E0277]: the trait bound `Something: Termination` is not satisfied
2   --> $DIR/issue-103052-2.rs:12:22
3    |
4 LL |         fn main() -> Something {
5    |                      ^^^^^^^^^ the trait `Termination` is not implemented for `Something`
6    |
7 note: required by a bound in `Main::main::{opaque#0}`
8   --> $DIR/issue-103052-2.rs:6:27
9    |
10 LL |         fn main() -> impl std::process::Termination;
11    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Main::main::{opaque#0}`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.