Sign in
fuchsia
/
third_party
/
rust
/
d440e136e753210882d930c6f4884a43984f6ba0
/
.
/
src
/
test
/
ui
/
issues
/
issue-6458-4.rs
blob: 054a5c15c3f8a37c472cb329c4534e77d1a08df1 [
file
] [
log
] [
blame
]
fn
foo
(
b
:
bool
)
->
Result
<
bool
,
String
>
{
//~ ERROR mismatched types
Err
(
"bar"
.
to_string
());
}
fn
main
()
{
foo
(
false
);
}