2017-03-13 21:07:47 -05:00
|
|
|
error: chained comparison operators require parentheses
|
2018-12-26 18:07:00 -06:00
|
|
|
--> $DIR/issue-40396.rs:2:20
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
2018-12-16 11:23:27 -06:00
|
|
|
LL | (0..13).collect<Vec<i32>>();
|
|
|
|
| ^^^^^^^^
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
|
|
|
= help: use `::<...>` instead of `<...>` if you meant to specify type arguments
|
2017-10-08 13:01:44 -05:00
|
|
|
= help: or use `(...)` if you meant to specify fn arguments
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
|
|
error: chained comparison operators require parentheses
|
2019-09-05 15:15:42 -05:00
|
|
|
--> $DIR/issue-40396.rs:7:8
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
2018-12-16 11:23:27 -06:00
|
|
|
LL | Vec<i32>::new();
|
|
|
|
| ^^^^^^^
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
|
|
|
= help: use `::<...>` instead of `<...>` if you meant to specify type arguments
|
2017-10-08 13:01:44 -05:00
|
|
|
= help: or use `(...)` if you meant to specify fn arguments
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
|
|
error: chained comparison operators require parentheses
|
2019-09-05 15:15:42 -05:00
|
|
|
--> $DIR/issue-40396.rs:12:20
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
2018-12-16 11:23:27 -06:00
|
|
|
LL | (0..13).collect<Vec<i32>();
|
|
|
|
| ^^^^^^^^
|
2017-03-13 21:07:47 -05:00
|
|
|
|
|
|
|
|
= help: use `::<...>` instead of `<...>` if you meant to specify type arguments
|
2017-10-08 13:01:44 -05:00
|
|
|
= help: or use `(...)` if you meant to specify fn arguments
|
2017-03-13 21:07:47 -05:00
|
|
|
|
2019-09-05 15:15:42 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2017-03-13 21:07:47 -05:00
|
|
|
|