summary refs log tree commit diff
path: root/src/test/ui/parser/issue-84117.rs
blob: 919585877cf9cfa899c7e234188c72a108f0c97c (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 `}`