Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
type
/
type-check
/
issue-116967-cannot-coerce-returned-result.rs
blob: adf3049b4bab96793869ec2f4e2ed779c1f9a009 [
file
] [
log
] [
blame
]
fn
foo
()
->
Result
<
String
,
()>
{
let
out
:
Result
<(),
()>
=
Ok
(());
out
//~ ERROR mismatched types
}
fn
main
()
{}