Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
aab1563
`impl PartialEq<{str,String}> for {Path,PathBuf}`
Kixunil Dec 18, 2022
964eb82
Stabilize `ip_from`
GrigorenkoPV May 29, 2025
06ae1be
Make doc for transpose api better
chenyukang Jun 22, 2025
a067c6a
refactor `unreachable/expr_cast.rs` test
WaffleLapkin Jun 1, 2025
d2e133d
don't warn on explicit casts of never to any
WaffleLapkin Jun 1, 2025
3a993a6
Ignore sleep_until test on SGX
raoulstrackx Aug 5, 2025
4e2d420
avoid duplicate error string
lcnr Aug 7, 2025
d62e857
also consider HR bounds
lcnr Aug 7, 2025
a95a2ac
rework `add_placeholder_from_predicate_note`
lcnr Aug 7, 2025
5c716bd
add comment
lcnr Aug 7, 2025
3ebf611
it's not a borrow checker limitation :<
lcnr Aug 13, 2025
8d0a049
Declare module `rustc_codegen_llvm::back` in the normal way
Zalathar Aug 15, 2025
44f5ec7
Avoid an explicit cast from `*const c_uchar` to `*const c_char`
Zalathar Aug 15, 2025
61932e1
Avoid an unnecessary intermediate `&mut` reference
Zalathar Aug 15, 2025
9e7d066
Simplify the `args_cstr_buff` assertion
Zalathar Aug 15, 2025
8511e40
rustdoc-search: search backend with partitioned suffix tree
notriddle Nov 22, 2024
cf8ec67
Remove `LlvmArchiveBuilder` and supporting code/bindings
Zalathar Aug 16, 2025
ddf39ca
Avoid copying rustc rmeta artifacts into the build compiler sysroot
Kobzol Aug 16, 2025
70e26c1
take attr style into account in attr diagnostics
jdonszelmann Aug 11, 2025
814b8e6
Only check std in cross-compilation instead of building it
Kobzol Aug 16, 2025
4335405
overhaul `&mut` suggestions in borrowck errors
fee1-dead Aug 6, 2025
e78b417
refactor return type of `suggest_ampmut` into an enum
fee1-dead Aug 16, 2025
3ef065b
Implement the #[sanitize(..)] attribute
1c3t3a Jun 18, 2025
95bdb34
Remove the no_sanitize attribute in favor of sanitize
1c3t3a Jun 18, 2025
22519d3
Do not overwrite the value of `RUSTC_ADDITIONAL_SYSROOT_PATHS`
Kobzol Aug 18, 2025
4668751
Print what bootstrap invocation failed when an error happens in CI
Kobzol Aug 18, 2025
a1f5bbe
Provide more useful command creation spans
Kobzol Aug 18, 2025
a6a760e
Remove the `From` derive macro from prelude
Kobzol Aug 18, 2025
c6db6f2
comment style changes
fee1-dead Aug 18, 2025
79a40c9
rustdoc: add rustdoc top bar web component
notriddle Aug 18, 2025
704cb8f
interpret: avoid forcing all integer newtypes into memory during clea…
RalfJung Aug 18, 2025
79d3006
cleanup: make run-make test use run_in_tmpdir
durin42 Aug 14, 2025
9d08596
tests: fix RISC-V failures and adjust transmute-scalar.rs target
Jul 28, 2025
4c21251
Fix uplifting in `Assemble` step
Kobzol Aug 18, 2025
533ecdb
Assume UTF-8 in sysroot paths
Kobzol Aug 18, 2025
2beb54c
Rollup merge of #140956 - Kixunil:impl-partialeq-str-for-path, r=Amanieu
Zalathar Aug 19, 2025
027c7a5
Rollup merge of #141744 - GrigorenkoPV:ip_from, r=Amanieu
Zalathar Aug 19, 2025
633cc0c
Rollup merge of #142681 - 1c3t3a:sanitize-off-on, r=rcvalle
Zalathar Aug 19, 2025
0671b2f
Rollup merge of #142871 - chenyukang:yukang-fix-doc-for-transpose, r=…
Zalathar Aug 19, 2025
b9fdc6b
Rollup merge of #144252 - Kobzol:rmeta-sysroot, r=jieyouxu
Zalathar Aug 19, 2025
d6645f7
Rollup merge of #144476 - notriddle:notriddle/stringdex, r=lolbinaryc…
Zalathar Aug 19, 2025
3a03bb9
Rollup merge of #144567 - CaiWeiran:transmute-scalar_test, r=nikic
Zalathar Aug 19, 2025
cff7ed1
Rollup merge of #144804 - WaffleLapkin:reach-for-the-casts, r=compile…
Zalathar Aug 19, 2025
d0fa5c7
Rollup merge of #144960 - raoulstrackx:raoul/rte-513-disable_sleep_te…
Zalathar Aug 19, 2025
181480d
Rollup merge of #145013 - fee1-dead-contrib:push-vwvsqsqnrxqm, r=nnet…
Zalathar Aug 19, 2025
f3f1847
Rollup merge of #145041 - lcnr:borrowck-limitations-error, r=BoxyUwU
Zalathar Aug 19, 2025
11c6d89
Rollup merge of #145243 - jdonszelmann:inner-attr-errors, r=petrochenkov
Zalathar Aug 19, 2025
02848e7
Rollup merge of #145405 - durin42:test-cleanup-tmpdir, r=lqd
Zalathar Aug 19, 2025
8945924
Rollup merge of #145432 - Zalathar:target-machine, r=wesleywiser
Zalathar Aug 19, 2025
8748d8e
Rollup merge of #145484 - Zalathar:archive-builder, r=bjorn3
Zalathar Aug 19, 2025
cf2f50e
Rollup merge of #145557 - Kobzol:rustc-link-fix, r=jieyouxu
Zalathar Aug 19, 2025
f44f963
Rollup merge of #145563 - Kobzol:remove-from-from-prelude, r=petroche…
Zalathar Aug 19, 2025
3ced940
Rollup merge of #145565 - Kobzol:bootstrap-ci-print-error, r=jieyouxu
Zalathar Aug 19, 2025
531ec85
Rollup merge of #145584 - RalfJung:interpret-clear-provenance, r=comp…
Zalathar Aug 19, 2025
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
add comment
  • Loading branch information
lcnr committed Aug 14, 2025
commit 5c716bdc8754a3d919396768fed2ec76110257cd
3 changes: 3 additions & 0 deletions compiler/rustc_borrowck/src/diagnostics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,9 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {
return;
};

// Look for the where-bound which introduces the placeholder.
// As we're using the HIR, we need to handle both `for<'a> T: Trait<'a>`
// and `T: for<'a> Trait`<'a>.
for pred in generics.predicates {
let WherePredicateKind::BoundPredicate(WhereBoundPredicate {
bound_generic_params,
Expand Down
4 changes: 3 additions & 1 deletion compiler/rustc_borrowck/src/diagnostics/region_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {
.collect::<Vec<_>>();
debug!(?gat_id_and_generics);

// find higher-ranked trait bounds bounded to the generic associated types
// Look for the where-bound which introduces the placeholder.
// As we're using the HIR, we need to handle both `for<'a> T: Trait<'a>`
// and `T: for<'a> Trait`<'a>.
let mut hrtb_bounds = vec![];
gat_id_and_generics.iter().flatten().for_each(|&(gat_hir_id, generics)| {
for pred in generics.predicates {
Expand Down