Skip to content

Commit

Permalink
Rollup merge of rust-lang#102288 - mejrs:inner, r=compiler-errors
Browse files Browse the repository at this point in the history
Suggest unwrapping `???<T>` if a method cannot be found on it but is present on `T`.

This suggests various ways to get inside wrapper types if the method cannot be found on the wrapper type, but is present on the wrappee.

For this PR, those wrapper types include `Localkey`, `MaybeUninit`, `RefCell`, `RwLock` and `Mutex`.
  • Loading branch information
JohnTitor authored Sep 28, 2022
2 parents 985cc02 + 6784b45 commit 7d8d8f3
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 7d8d8f3

Please sign in to comment.