diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-21 18:20:45 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-21 19:00:18 -0400 |
| commit | ffd72b1700a6c96b2468e9259fdb4beea11717e0 (patch) | |
| tree | 781817f15b995c9695a5d9f0f7cb36a242254239 /compiler/rustc_resolve/messages.ftl | |
| parent | ea681ef2814b321177d1eee437b8867d31141754 (diff) | |
| download | rust-ffd72b1700a6c96b2468e9259fdb4beea11717e0.tar.gz rust-ffd72b1700a6c96b2468e9259fdb4beea11717e0.zip | |
Fix remaining cases
Diffstat (limited to 'compiler/rustc_resolve/messages.ftl')
| -rw-r--r-- | compiler/rustc_resolve/messages.ftl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/messages.ftl b/compiler/rustc_resolve/messages.ftl index 358f25e2334..4b9c36ad39f 100644 --- a/compiler/rustc_resolve/messages.ftl +++ b/compiler/rustc_resolve/messages.ftl @@ -240,7 +240,7 @@ resolve_label_with_similar_name_reachable = resolve_lending_iterator_report_error = associated type `Iterator::Item` is declared without lifetime parameters, so using a borrowed type for them requires that lifetime to come from the implemented type - .note = you can't create an `Iterator` that borrows each `Item` from itself, but you can instead create a new type that borrows your existing type and implement `Iterator` for that new type. + .note = you can't create an `Iterator` that borrows each `Item` from itself, but you can instead create a new type that borrows your existing type and implement `Iterator` for that new type resolve_lifetime_param_in_enum_discriminant = lifetime parameters may not be used in enum discriminant values |
