Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
bad-name.rs
blob: fefe9122a08fb04f60c2ed907053c9f7f0d90735 [
file
] [
log
] [
blame
] [
edit
]
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`
}