Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0a42a54
Make `io::BorrowedCursor::advance` safe
a1phyr Feb 7, 2024
01fa720
Bump Unicode to version 15.1.0, regenerate tables
Marcondiro Feb 8, 2024
fffcb4c
Fix comment in core/src/str/validations.rs
PizzasBear Feb 12, 2024
5233bc9
Add an `ErrorGuaranteed` to `ast::TyKind::Err`.
nnethercote Feb 14, 2024
bd546fb
add extra indent spaces for rust-playground link
chenyukang Feb 14, 2024
b277772
Improve wording of static_mut_ref
obeis Feb 15, 2024
3b791a4
simplify codegen for trivially droppable types
Nov 23, 2023
fe9bc1b
reduce amount of math
Nov 23, 2023
b13c926
reduce branchiness
Nov 23, 2023
064f972
outline large copies
Nov 23, 2023
a77d6b9
add codegen test
Nov 23, 2023
da1c7f6
address review comments
Feb 11, 2024
cc7b4e0
Update aarch64 target feature docs to match LLVM
adamgemmell Jan 25, 2024
5d65b19
Avoid debug logging entire MIR body
tmiasko Feb 15, 2024
c763f83
Only point out non-diverging arms for match suggestions
compiler-errors Feb 15, 2024
acb201a
make better async fn kind errors
compiler-errors Feb 14, 2024
6018e21
Remove a suggestion that is redundant
compiler-errors Feb 15, 2024
fdc56b6
doc: add note before panicking examples for strict_overflow_ops
tspiteri Feb 15, 2024
675d092
doc: panicking division by zero examples for unsigned strict div ops
tspiteri Feb 15, 2024
954d565
Fix closure kind docs
compiler-errors Feb 15, 2024
9c78654
Rollup merge of #118264 - lukas-code:optimized-draining, r=the8472
GuillaumeGomez Feb 15, 2024
dbc1dea
Rollup merge of #120741 - a1phyr:safe_buffer_advance, r=m-ou-se
GuillaumeGomez Feb 15, 2024
128071c
Rollup merge of #120777 - Marcondiro:unicode15-1, r=Manishearth
GuillaumeGomez Feb 15, 2024
51129dc
Rollup merge of #120971 - PizzasBear:patch-1, r=Nilstrieb
GuillaumeGomez Feb 15, 2024
3f90669
Rollup merge of #121034 - obeis:improve-static-mut-ref, r=RalfJung
GuillaumeGomez Feb 15, 2024
97a7a4d
Rollup merge of #121095 - chenyukang:yukang-fix-120998-rust-playgroun…
GuillaumeGomez Feb 15, 2024
65d59fc
Rollup merge of #121109 - nnethercote:TyKind-Err-guar-2, r=oli-obk
GuillaumeGomez Feb 15, 2024
3724897
Rollup merge of #121119 - compiler-errors:async-fn-kind-errs, r=oli-obk
GuillaumeGomez Feb 15, 2024
63b058d
Rollup merge of #121141 - compiler-errors:closure-kind-docs, r=nnethe…
GuillaumeGomez Feb 15, 2024
94df9c9
Rollup merge of #121145 - adamgemmell:dev/adagem01/combined-target-fe…
GuillaumeGomez Feb 15, 2024
bf7005b
Rollup merge of #121146 - compiler-errors:ignore-diverging-arms, r=es…
GuillaumeGomez Feb 15, 2024
cafa1ae
Rollup merge of #121147 - tmiasko:no-debug-body, r=compiler-errors
GuillaumeGomez Feb 15, 2024
35f8b3d
Rollup merge of #121155 - tspiteri:strict-doc-overflow, r=Nilstrieb
GuillaumeGomez Feb 15, 2024
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
Avoid debug logging entire MIR body
If there is a need to examine the MIR body there is -Zmir-dump.
  • Loading branch information
tmiasko committed Feb 15, 2024
commit 5d65b1954ef4dc6ea3a1260e1bce31524fc286f4
1 change: 0 additions & 1 deletion compiler/rustc_mir_transform/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,6 @@ fn inner_optimized_mir(tcx: TyCtxt<'_>, did: LocalDefId) -> Body<'_> {
debug!("about to call mir_drops_elaborated...");
let body = tcx.mir_drops_elaborated_and_const_checked(did).steal();
let mut body = remap_mir_for_const_eval_select(tcx, body, hir::Constness::NotConst);
debug!("body: {:#?}", body);

if body.tainted_by_errors.is_some() {
return body;
Expand Down
5 changes: 2 additions & 3 deletions compiler/rustc_mir_transform/src/remove_noop_landing_pads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ impl<'tcx> MirPass<'tcx> for RemoveNoopLandingPads {
}

fn run_pass(&self, _tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
debug!("remove_noop_landing_pads({:?})", body);
let def_id = body.source.def_id();
debug!(?def_id);
self.remove_nop_landing_pads(body)
}
}
Expand Down Expand Up @@ -81,8 +82,6 @@ impl RemoveNoopLandingPads {
}

fn remove_nop_landing_pads(&self, body: &mut Body<'_>) {
debug!("body: {:#?}", body);

// Skip the pass if there are no blocks with a resume terminator.
let has_resume = body
.basic_blocks
Expand Down