fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0599]: no method named `as_deref_ok` found for type `std::result::Result<{integer}, _>` in the current scope 2 --> $DIR/result-as_deref_ok.rs:4:27 3 | 4LL | let _result = &Ok(42).as_deref_ok(); 5 | ^^^^^^^^^^^ help: there is a method with a similar name: `as_deref_err` 6 | 7 = note: the method `as_deref_ok` exists but the following trait bounds were not satisfied: 8 `{integer} : std::ops::Deref` 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0599`.