--> $DIR/result-as_deref.rs:4:27
|
LL | let _result = &Ok(42).as_deref();
- | ^^^^^^^^ help: there is a method with a similar name: `as_ref`
+ | ^^^^^^^^ help: there is an associated function with a similar name: `as_ref`
|
= note: the method `as_deref` exists but the following trait bounds were not satisfied:
`{integer}: std::ops::Deref`