summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/recover-missing-turbofish-surrounding-angle-braket.stderr
blob: 618ccba0d3d12350852e02c2c7ffc4db9bb120ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
error: generic parameters without surrounding angle brackets
  --> $DIR/recover-missing-turbofish-surrounding-angle-braket.rs:2:48
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::Vec<_>();
   |                                                ^^^^^^
   |
help: surround the type parameters with angle brackets
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::<Vec<_>>();
   |                                                +      +

error: generic parameters without surrounding angle brackets
  --> $DIR/recover-missing-turbofish-surrounding-angle-braket.rs:4:48
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::Vec<_>>>>();
   |                                                ^^^^^^
   |
help: surround the type parameters with angle brackets
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::<Vec<_>>();
   |                                                +      ~

error: generic parameters without surrounding angle brackets
  --> $DIR/recover-missing-turbofish-surrounding-angle-braket.rs:6:48
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::Vec<_>>>();
   |                                                ^^^^^^
   |
help: surround the type parameters with angle brackets
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::<Vec<_>>();
   |                                                +      ~

error: generic parameters without surrounding angle brackets
  --> $DIR/recover-missing-turbofish-surrounding-angle-braket.rs:8:48
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::Vec<_>>();
   |                                                ^^^^^^
   |
help: surround the type parameters with angle brackets
   |
LL |     let _ = vec![1, 2, 3].into_iter().collect::<Vec<_>>();
   |                                                +      ~

error: aborting due to 4 previous errors