summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-84117.rs
blob: c9ebf133588bfdd774aa9ef980b3c5a8e2e1be3d (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
    //~^ ERROR expected one of `>`, a const expression
    //~| ERROR expected one of `>`, a const expression, lifetime, or type, found `}`
    //~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
    //~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
    //~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
}
//~^ ERROR expected one of `,` or `>`, found `}`