Skip to content

Rollup of 7 pull requests #124960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 31 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5fe296c
Add benchmarks for `impl Debug for str`
Swatinem Apr 30, 2024
56dc98b
Remove unused `step_trait` feature.
nnethercote May 8, 2024
69b86f6
Remove unused `LinkSelfContainedDefault::is_linker_enabled` method.
nnethercote May 9, 2024
609b9a6
Correct a comment.
nnethercote May 9, 2024
d6c63bd
Fix up `DescriptionCtx::new`.
nnethercote May 9, 2024
39159a3
opt-dist: use xz2 instead of xz crate
klensy May 9, 2024
83e6da0
analyse visitor: build proof tree in probe
lcnr May 9, 2024
feff752
update crashes
lcnr May 9, 2024
8f90625
always use `GenericArgsRef`
lcnr May 9, 2024
5b5dd1b
Fix out-of-date comment.
nnethercote May 9, 2024
d13612b
Remove `TyCtxt::try_normalize_erasing_late_bound_regions`.
nnethercote May 9, 2024
24445d3
Remove out-of-date comment.
nnethercote May 9, 2024
df6f713
De-tuple two `vtable_trait_first_method_offset` args.
nnethercote May 9, 2024
4486724
Remove a stray backtick in an error explanation.
nnethercote May 8, 2024
c88dabc
Remove `extern crate rustc_middle` from `rustc_const_eval`.
nnethercote May 8, 2024
fd6f03e
Remove `extern crate rustc_middle` from `rustc_hir_analysis`.
nnethercote May 8, 2024
d30a30c
Remove `extern crate rustc_middle` from `rustc_hir_typeck`.
nnethercote May 8, 2024
f561286
Remove `extern crate rustc_middle` from `rustc_infer`.
nnethercote May 8, 2024
964e1ec
Remove `extern crate rustc_middle` from `rustc_metadata`.
nnethercote May 8, 2024
ddca6d9
Remove `extern crate rustc_middle` from `rustc_mir_build`.
nnethercote May 8, 2024
8e50e1f
Remove `extern crate rustc_middle` from `rustc_mir_transform`.
nnethercote May 8, 2024
7739298
Remove `extern crate rustc_middle` from `rustc_query_impl`.
nnethercote May 8, 2024
4dc9fee
Remove `extern crate rustc_middle` from `rustc_trait_selection`.
nnethercote May 8, 2024
ad0f595
Remove `extern crate rustc_middle` from `rustc_ty_utils`.
nnethercote May 8, 2024
5865ff2
Rollup merge of #124551 - Swatinem:debug-str-bench, r=cuviper
matthiaskrgr May 10, 2024
a4839ea
Rollup merge of #124914 - nnethercote:rm-extern-crate-rustc_middle, r…
matthiaskrgr May 10, 2024
e8e04cd
Rollup merge of #124915 - nnethercote:rustc_target-cleanups, r=bjorn3
matthiaskrgr May 10, 2024
cf4ca02
Rollup merge of #124918 - nnethercote:FIXME-lcnr, r=lcnr
matthiaskrgr May 10, 2024
40276a1
Rollup merge of #124927 - klensy:xz3, r=Kobzol
matthiaskrgr May 10, 2024
822be63
Rollup merge of #124936 - lcnr:cool-beans, r=compiler-errors
matthiaskrgr May 10, 2024
3439a87
Rollup merge of #124943 - lcnr:generic-args-ref, r=compiler-errors
matthiaskrgr May 10, 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
Correct a comment.
I tried simplifying `RegionCtxt`, which led me to finding that the
fields are printed in `sccs_info`.
nnethercote committed May 9, 2024
commit 609b9a67c992dadf19bd7d8cdc77237d82d95152
4 changes: 1 addition & 3 deletions compiler/rustc_borrowck/src/renumber.rs
Original file line number Diff line number Diff line change
@@ -26,9 +26,7 @@ pub fn renumber_mir<'tcx>(
renumberer.visit_body(body);
}

// FIXME(@lcnr): A lot of these variants overlap and it seems like
// this type is only used to decide which region should be used
// as representative. This should be cleaned up.
// The fields are used only for debugging output in `sccs_info`.
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
pub(crate) enum RegionCtxt {
Location(Location),