Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
type
/
type-ascription-instead-of-statement-end.rs
blob: e30e571386bd254ba86c0f48785468c5eaaf39cd [
file
] [
log
] [
blame
]
fn
main
()
{
println
!(
"test"
):
//~ ERROR statements are terminated with a semicolon
0
;
}
fn
foo
()
{
println
!(
"test"
):
0
;
//~ ERROR expected one of
}