Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
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
()
{}