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