]> git.lizzy.rs Git - rust.git/blob - src/test/ui/did_you_mean/issue-40396.rs
move interface to the unikernel in the crate hermit-abi
[rust.git] / src / test / ui / did_you_mean / issue-40396.rs
1 fn foo() {
2     (0..13).collect<Vec<i32>>();
3     //~^ ERROR chained comparison
4 }
5
6 fn bar() {
7     Vec<i32>::new();
8     //~^ ERROR chained comparison
9 }
10
11 fn qux() {
12     (0..13).collect<Vec<i32>();
13     //~^ ERROR chained comparison
14 }
15
16 fn main() {}