Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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>`
}