diff options
| author | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-05-17 12:50:37 +0200 |
|---|---|---|
| committer | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-05-17 12:50:37 +0200 |
| commit | c9b6ccc11ce82c753702716f57f786acf322e64f (patch) | |
| tree | 4fb04c0d00754ab0b9c8974ecc7783d08f76abde /library/std/src/process.rs | |
| parent | c4e05e53d19b550a358ee8b2e29ecd5a11075800 (diff) | |
| download | rust-c9b6ccc11ce82c753702716f57f786acf322e64f.tar.gz rust-c9b6ccc11ce82c753702716f57f786acf322e64f.zip | |
Switch library rustc_unimplemented to use `Self` and `This`
Diffstat (limited to 'library/std/src/process.rs')
| -rw-r--r-- | library/std/src/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs index df6b9a6e563..359e2082072 100644 --- a/library/std/src/process.rs +++ b/library/std/src/process.rs @@ -2532,7 +2532,7 @@ pub fn id() -> u32 { #[rustc_on_unimplemented(on( cause = "MainFunctionType", message = "`main` has invalid return type `{Self}`", - label = "`main` can only return types that implement `{Termination}`" + label = "`main` can only return types that implement `{This}`" ))] pub trait Termination { /// Is called to get the representation of the value as status code. |
