about summary refs log tree commit diff
path: root/library/std/src/process.rs
diff options
context:
space:
mode:
authormejrs <59372212+mejrs@users.noreply.github.com>2025-05-17 12:50:37 +0200
committermejrs <59372212+mejrs@users.noreply.github.com>2025-05-17 12:50:37 +0200
commitc9b6ccc11ce82c753702716f57f786acf322e64f (patch)
tree4fb04c0d00754ab0b9c8974ecc7783d08f76abde /library/std/src/process.rs
parentc4e05e53d19b550a358ee8b2e29ecd5a11075800 (diff)
downloadrust-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.rs2
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.