Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7f79153
write substs for lang item paths
lcnr Oct 5, 2021
80fe0bb
add a `rustc::query_stability` lint
lcnr Oct 5, 2021
00e5abe
allow `potential_query_instability` everywhere
lcnr Oct 13, 2021
2fa9b11
Normalize MIR with RevealAll before optimizations.
cjgillot May 13, 2021
a7ccf22
Fix remove_unneeded_drops pass.
cjgillot Sep 26, 2021
70aeced
Ignore wasm32 in test.
cjgillot Oct 17, 2021
9a3c024
Skip documentation for tier 2 targets
Mark-Simulacrum Oct 20, 2021
5503dd9
[do not merge] try build
Mark-Simulacrum Oct 20, 2021
9296efe
Print step timings for try builds
Mark-Simulacrum Oct 21, 2021
22e1798
ignore `potential_query_instability` in rustdoc
lcnr Oct 21, 2021
a288bf6
Mark {array,slice}::{from_ref,from_mut} as const fn
WaffleLapkin Oct 22, 2021
a076f2b
Repace use of `static_nobundle` with `native_link_modifiers`
mati865 Oct 23, 2021
27d6961
Fill tracking issue for `const_slice_from_ref` and `const_array_from_…
WaffleLapkin Oct 23, 2021
542ab2d
Outdent method headings so they stand out
jsha Oct 22, 2021
5f390cf
Add tests for `const_slice_from_ref` and `const_array_from_ref`
WaffleLapkin Oct 23, 2021
433ecd1
Rollup merge of #85254 - cjgillot:reveal-mir, r=lcnr
matthiaskrgr Oct 24, 2021
a5ddd8b
Rollup merge of #89558 - lcnr:query-stable-lint, r=estebank
matthiaskrgr Oct 24, 2021
13ae7e9
Rollup merge of #90100 - Mark-Simulacrum:speed-macos-ci, r=pietroalbini
matthiaskrgr Oct 24, 2021
50e23bc
Rollup merge of #90155 - jsha:outdent-methods, r=GuillaumeGomez,camelid
matthiaskrgr Oct 24, 2021
e39edda
Rollup merge of #90162 - WaffleLapkin:const_array_slice_from_ref_mut,…
matthiaskrgr Oct 24, 2021
0ffdb63
Rollup merge of #90205 - mati865:link-modifiers-in-rustc, r=petrochenkov
matthiaskrgr Oct 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix remove_unneeded_drops pass.
  • Loading branch information
cjgillot committed Oct 17, 2021
commit a7ccf22b48f53aa9201a517f16918c49265189a3
2 changes: 1 addition & 1 deletion compiler/rustc_mir_transform/src/remove_unneeded_drops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl<'tcx> MirPass<'tcx> for RemoveUnneededDrops {
trace!("Running RemoveUnneededDrops on {:?}", body.source);

let did = body.source.def_id();
let param_env = tcx.param_env(did);
let param_env = tcx.param_env_reveal_all_normalized(did);
let mut should_simplify = false;

let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut();
Expand Down