blob: fefe9122a08fb04f60c2ed907053c9f7f0d90735 (
plain)
1
2
3
4
5
6
|
fn main() {
let x.y::<isize>.z foo;
//~^ error: field expressions cannot have generic arguments
//~| error: expected a pattern, found an expression
//~| error: expected one of `(`, `.`, `::`, `:`, `;`, `=`, `?`, `|`, or an operator, found `foo`
}
|