summary refs log tree commit diff
path: root/src/test/ui/parser/issue-84117.rs
blob: 0f20073591598dc13ef724ac434e98ea7a90be75 (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 `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,`
    //~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,`
    //~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,`
}
//~^ ERROR expected one of `,`, `:`, `=`, or `>`, found `}`