Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
parser
/
unsized2.rs
blob: 21370b329a34425875e9004a0734d35ed84af139 [
file
] [
log
] [
blame
]
// Test syntax checks for `type` keyword.
fn
f
<
X
>()
{}
pub
fn
main
()
{
f
<
type
>();
//~ ERROR expected expression, found keyword `type`
}