about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-26 03:23:54 +0000
committerbors <bors@rust-lang.org>2022-08-26 03:23:54 +0000
commit13a6aaffdf6bd6f1bce000b09aa390e93d6aca77 (patch)
tree76d60e3604e38838c1f2203a916df062c3522e78 /compiler/rustc_middle/src
parent76f3b891a0c48e128c5a43ef57e70d86735e1cf2 (diff)
parentb4d5f48e43f2f7d53ac058877e663229f1407e86 (diff)
downloadrust-13a6aaffdf6bd6f1bce000b09aa390e93d6aca77.tar.gz
rust-13a6aaffdf6bd6f1bce000b09aa390e93d6aca77.zip
Auto merge of #101017 - JohnTitor:rollup-73f2fhb, r=JohnTitor
Rollup of 8 pull requests

Successful merges:

 - #99064 (distinguish the method and associated function diagnostic information)
 - #99920 (Custom allocator support in `rustc_serialize`)
 - #100034 ( Elaborate all box dereferences in `ElaborateBoxDerefs`)
 - #100076 (make slice::{split_at,split_at_unchecked} const functions)
 - #100604 (Remove unstable Result::into_ok_or_err)
 - #100933 (Reduce code size of `assert_matches_failed`)
 - #100978 (Handle `Err` in `ast::LitKind::to_token_lit`.)
 - #101010 (rustdoc: remove unused CSS for `.multi-column`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/mir/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/mir/mod.rs b/compiler/rustc_middle/src/mir/mod.rs
index 7ab71f9009d..9da9b4e91f6 100644
--- a/compiler/rustc_middle/src/mir/mod.rs
+++ b/compiler/rustc_middle/src/mir/mod.rs
@@ -1531,6 +1531,7 @@ impl<'tcx> Place<'tcx> {
 }
 
 impl From<Local> for Place<'_> {
+    #[inline]
     fn from(local: Local) -> Self {
         Place { local, projection: List::empty() }
     }