3 impl Wrapper<Option<i32>> {
4 fn inner_mut(&self) -> Option<&mut i32> {
6 //~^ ERROR no method named `as_mut` found for reference `&Wrapper<Option<i32>>` in the current scope
7 //~| HELP one of the expressions' fields has a method of the same name
8 //~| HELP items from traits can only be used if
11 fn inner_mut_bad(&self) -> Option<&mut u32> {
13 //~^ ERROR no method named `as_mut` found for reference `&Wrapper<Option<i32>>` in the current scope
14 //~| HELP items from traits can only be used if