Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-32709.rs
blob: c05bfdc4cfd98181f2ef53f445d17f04658d9951 [
file
] [
log
] [
blame
]
// Make sure that the span of try shorthand does not include the trailing
// semicolon;
fn
a
()
->
Result
<
i32
,
()>
{
Err
(
5
)?;
//~ ERROR
Ok
(
1
)
}
fn
main
()
{}