diff options
| author | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-05-17 15:15:53 +0200 |
|---|---|---|
| committer | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-05-17 15:15:53 +0200 |
| commit | 9ffd0bf75a30b4fce1ffa35732666a37a7e9a736 (patch) | |
| tree | f4b1ccb46d46ac9325d9702e59fadcf365dbdc6c /compiler/rustc_trait_selection/messages.ftl | |
| parent | c9b6ccc11ce82c753702716f57f786acf322e64f (diff) | |
| download | rust-9ffd0bf75a30b4fce1ffa35732666a37a7e9a736.tar.gz rust-9ffd0bf75a30b4fce1ffa35732666a37a7e9a736.zip | |
do away with `_Self` and `TraitName` and check generic params for rustc_on_unimplemented
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 00922c6038e..9b949a0a795 100644 --- a/compiler/rustc_trait_selection/messages.ftl +++ b/compiler/rustc_trait_selection/messages.ftl @@ -337,6 +337,8 @@ trait_selection_rustc_on_unimplemented_expected_one_predicate_in_not = expected .label = unexpected quantity of predicates here trait_selection_rustc_on_unimplemented_invalid_flag = invalid flag in `on`-clause .label = expected one of the `crate_local`, `direct` or `from_desugaring` flags, not `{$invalid_flag}` +trait_selection_rustc_on_unimplemented_invalid_name = invalid name in `on`-clause + .label = expected one of `cause`, `from_desugaring`, `Self` or any generic parameter of the trait, not `{$invalid_name}` trait_selection_rustc_on_unimplemented_invalid_predicate = this predicate is invalid .label = expected one of `any`, `all` or `not` here, not `{$invalid_pred}` trait_selection_rustc_on_unimplemented_missing_value = this attribute must have a value |
