summaryrefslogtreecommitdiffstats
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 3cb5e44c7..7f1b9c38e 100644
--- a/tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr
+++ b/tests/ui/iterators/invalid-iterator-chain-with-int-infer.stderr
@@ -6,8 +6,8 @@ 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 as Sum<&'a f32>>
<f32 as Sum>
+ <f32 as Sum<&'a f32>>
note: the method call chain might not have had the expected associated types
--> $DIR/invalid-iterator-chain-with-int-infer.rs:2:29
|