about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/messages.ftl
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-09-10 03:33:07 +0000
committerMichael Goulet <michael@errs.io>2023-09-10 21:20:36 +0000
commit30e6cea0ae4780bdd99e56fc85719dcb4305c900 (patch)
treed9bc44a8a86d3c6dcf9d2df277e6bba6d86cc5da /compiler/rustc_trait_selection/messages.ftl
parent26f4b7272428b181e0a88ad075e5c8f09dcb0e5c (diff)
downloadrust-30e6cea0ae4780bdd99e56fc85719dcb4305c900.tar.gz
rust-30e6cea0ae4780bdd99e56fc85719dcb4305c900.zip
Point out if a local trait has no implementations
Diffstat (limited to 'compiler/rustc_trait_selection/messages.ftl')
-rw-r--r--compiler/rustc_trait_selection/messages.ftl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/messages.ftl b/compiler/rustc_trait_selection/messages.ftl
index 2a09a7dcd89..2db24c43734 100644
--- a/compiler/rustc_trait_selection/messages.ftl
+++ b/compiler/rustc_trait_selection/messages.ftl
@@ -40,5 +40,7 @@ trait_selection_no_value_in_rustc_on_unimplemented = this attribute must have a
     .label = expected value here
     .note = eg `#[rustc_on_unimplemented(message="foo")]`
 
+trait_selection_trait_has_no_impls = this trait has no implementations, consider adding one
+
 trait_selection_ty_alias_overflow = in case this is a recursive type alias, consider using a struct, enum, or union instead
 trait_selection_unable_to_construct_constant_value = unable to construct a constant value for the unevaluated constant {$unevaluated}