about summary refs log tree commit diff
path: root/tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr')
-rw-r--r--tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr b/tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr
index 189f089ba51..1f1f7c99e56 100644
--- a/tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr
+++ b/tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr
@@ -8,7 +8,7 @@ LL |     let x = Some(()).iter().map(|()| 1).sum::<f32>();
    |
    = help: the trait `Sum<{integer}>` is not implemented for `f32`
    = help: the following other types implement trait `Sum<A>`:
-             `f32` implements `Sum<&'a f32>`
+             `f32` implements `Sum<&f32>`
              `f32` implements `Sum`
 note: the method call chain might not have had the expected associated types
   --> $DIR/invalid-iterator-chain-with-int-infer.rs:2:29