summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generator/yield-outside-generator-issue-78653.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/generator/yield-outside-generator-issue-78653.stderr')
-rw-r--r--src/test/ui/generator/yield-outside-generator-issue-78653.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/generator/yield-outside-generator-issue-78653.stderr b/src/test/ui/generator/yield-outside-generator-issue-78653.stderr
index ee1afbe5b..dcfb21174 100644
--- a/src/test/ui/generator/yield-outside-generator-issue-78653.stderr
+++ b/src/test/ui/generator/yield-outside-generator-issue-78653.stderr
@@ -12,7 +12,7 @@ LL | yield || for i in 0 { }
|
= help: the trait `Iterator` is not implemented for `{integer}`
= note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end`
- = note: required because of the requirements on the impl of `IntoIterator` for `{integer}`
+ = note: required for `{integer}` to implement `IntoIterator`
error: aborting due to 2 previous errors