Auto merge of #85892 - tmiasko:i, r=oli-obk

Miscellaneous inlining improvements
This commit is contained in:
bors
2021-06-02 10:47:58 +00:00
17 changed files with 45 additions and 0 deletions

View File

@@ -2488,6 +2488,7 @@ pub enum FnRetTy<'hir> {
}
impl FnRetTy<'_> {
#[inline]
pub fn span(&self) -> Span {
match *self {
Self::DefaultReturn(span) => span,