Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
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>`
}