2020-09-26 17:20:14 -04:00
|
|
|
error[E0599]: the method `as_deref_mut` exists for enum `Option<{integer}>`, but its trait bounds were not satisfied
|
2019-09-23 15:51:25 +02:00
|
|
|
--> $DIR/option-as_deref_mut.rs:2:33
|
2019-04-01 12:08:19 -07:00
|
|
|
|
|
|
|
|
LL | let _result = &mut Some(42).as_deref_mut();
|
2022-03-14 21:07:19 +00:00
|
|
|
| ^^^^^^^^^^^^
|
2019-04-01 12:08:19 -07:00
|
|
|
|
|
2020-09-26 17:20:14 -04:00
|
|
|
= note: the following trait bounds were not satisfied:
|
2021-10-08 01:38:33 +02:00
|
|
|
`{integer}: Deref`
|
2019-04-01 12:08:19 -07:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|