summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-50264-inner-deref-trait/option-as_deref_mut.rs
blob: ff5095ce3d723d8071e19b625ddc1cb2acecbe4c (plain)
1
2
3
4
fn main() {
    let _result = &mut Some(42).as_deref_mut();
//~^ ERROR the method
}