Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
resolve
/
token-error-correct.rs
blob: 4f74df0bf1f392e4d4d2e7bfad92f68cba3f00c7 [
file
] [
log
] [
blame
]
// Test that we do some basic error correction in the tokeniser.
fn
main
()
{
foo
(
bar
(;
//~^ ERROR cannot find function `bar` in this scope
}
//~^ ERROR: mismatched closing delimiter: `}`
fn
foo
(
_
:
usize
)
{}