]> git.lizzy.rs Git - rust.git/commit
Inline and remove `place_contents_drop_state_cannot_differ`.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 8 Dec 2022 02:59:29 +0000 (13:59 +1100)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 8 Dec 2022 02:59:29 +0000 (13:59 +1100)
commit68a19209e0f95b7dab601a091602643665b0cbc0
treec6e56315c9287fa6df044cdc82d9d6dfba1d76da
parente491d2b24da8c11c902bb836d189590600f26caf
Inline and remove `place_contents_drop_state_cannot_differ`.

It has a single call site and is hot enough to be worth inlining. And
make sure `is_terminal_path` is inlined, too.
compiler/rustc_mir_dataflow/src/drop_flag_effects.rs