summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/recover-missing-turbofish-surrounding-angle-braket.rs
blob: 333dce390461c9359b2bd7a6cc83735dbc301be9 (plain)
1
2
3
4
5
6
7
8
9
10
fn main() {
    let _ = vec![1, 2, 3].into_iter().collect::Vec<_>();
    //~^ ERROR generic parameters without surrounding angle brackets
    let _ = vec![1, 2, 3].into_iter().collect::Vec<_>>>>();
    //~^ ERROR generic parameters without surrounding angle brackets
    let _ = vec![1, 2, 3].into_iter().collect::Vec<_>>>();
    //~^ ERROR generic parameters without surrounding angle brackets
    let _ = vec![1, 2, 3].into_iter().collect::Vec<_>>();
    //~^ ERROR generic parameters without surrounding angle brackets
}