Sign in
fuchsia
/
third_party
/
rust
/
5b7d64e9473216dc8650ca5f910100389ab91726
/
.
/
src
/
test
/
ui
/
mismatched_types
/
method-help-unsatisfied-bound.rs
blob: 83cea168465154d54b6b8ca6a582b444939c4e0b [
file
] [
log
] [
blame
]
struct
Foo
;
fn
main
()
{
let
a
:
Result
<(),
Foo
>
=
Ok
(());
a
.
unwrap
();
//~^ ERROR no method named `unwrap` found for type `std::result::Result<(), Foo>`
}