2021-01-28 10:01:36 -06:00
|
|
|
error[E0599]: the method `as_deref_mut` exists for enum `Result<{integer}, _>`, but its trait bounds were not satisfied
|
2020-07-30 10:32:25 -05:00
|
|
|
--> $DIR/result-as_deref_mut.rs:2:31
|
2019-04-01 14:08:19 -05:00
|
|
|
|
|
|
|
|
LL | let _result = &mut Ok(42).as_deref_mut();
|
2022-03-14 16:07:19 -05:00
|
|
|
| ^^^^^^^^^^^^
|
2019-04-01 14:08:19 -05:00
|
|
|
|
|
2020-09-26 16:20:14 -05:00
|
|
|
= note: the following trait bounds were not satisfied:
|
2021-10-07 18:38:33 -05:00
|
|
|
`{integer}: Deref`
|
2019-04-01 14:08:19 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|