diff options
| author | Michael Goulet <michael@errs.io> | 2023-09-10 03:33:07 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-09-10 21:20:36 +0000 |
| commit | 30e6cea0ae4780bdd99e56fc85719dcb4305c900 (patch) | |
| tree | d9bc44a8a86d3c6dcf9d2df277e6bba6d86cc5da /compiler/rustc_trait_selection/messages.ftl | |
| parent | 26f4b7272428b181e0a88ad075e5c8f09dcb0e5c (diff) | |
| download | rust-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.ftl | 2 |
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} |
