Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
fa0b014
Remove ignore field of CollectedTestDesc
Kobzol Jul 12, 2026
ed659fa
Explicitly mark debuginfo tests as ignored when the given debugger is…
Kobzol Jul 12, 2026
6cd80d0
Port compiletest CLI parsing from `getopts` to `clap`
Kobzol Jul 12, 2026
838cf60
Clean up compiletest's command-line interface
Kobzol Jul 12, 2026
bc709e8
Reduce dependency count of clap
Kobzol Jul 12, 2026
cfa34fa
Clarify multi-value comment
Kobzol Jul 14, 2026
394d969
tidy: handle large numeric sort keys
kn1g78 Jul 14, 2026
bc585ed
Fix the stale metrics directory warning
reidliu41 Jul 15, 2026
d4dff69
tidy: document numeric sort key limit
kn1g78 Jul 15, 2026
526787d
rename from lazy_type_alias to checked_type_aliases
josetorrs Jul 4, 2026
37e12e1
Show sub-parts of types when only interesting part is lifetimes
estebank Jul 9, 2026
a85f928
Teach async closures and coroutines to print short types
estebank Jul 9, 2026
00d1b3f
Use `Highlight` when naming hidden type in return type
estebank Jul 9, 2026
76519dc
Make `Highlighted` take heed of `--verbose`
estebank Jul 9, 2026
24c30fb
Account for `for<'a>` in `<impl for<'a> Trait as Trait>` when shorten…
estebank Jul 10, 2026
e94c07c
Always show full signature on "`impl` doesn't match `trait`" error
estebank Jul 10, 2026
d228a89
Tweak logic to refer to items by their name instead of path when shor…
estebank Jul 10, 2026
b8c0562
Fix typo
estebank Jul 12, 2026
23204b1
address review comments
estebank Jul 12, 2026
ec430cb
tidy
estebank Jul 12, 2026
fa69dbd
Do not change closure short type rendering
estebank Jul 13, 2026
247cf33
Add missing backticks
estebank Jul 13, 2026
f43dbc2
Shorten `Highlighted` types when looking at regions, but never shorte…
estebank Jul 13, 2026
c6f5692
Tweak shortened closure logic
estebank Jul 13, 2026
05d7d3b
Add a regression test for an associated const equality region variabl…
jakubadamw Jul 15, 2026
2329d13
Add a regression test for a const parameter default body param-env ICE
jakubadamw Jul 15, 2026
26d2eda
Delete `lint-unknown-feature{,-default}.rs`
theemathas Jul 16, 2026
4b1bfb5
Delete FIXMEs about issue 44232.
theemathas Jul 16, 2026
5ccf44c
Track extra_lifetime_params_map per-owner
oli-obk May 27, 2026
38591d2
Add #[inline] to core::io methods with simple logic or forwarding
Darksonn Jul 16, 2026
4b0cd8e
make a couple codegen-llvm tests compatible with 2021 edition
jyn514 Jul 15, 2026
2c38aed
emit (lldb) prefix to make commands more distinct
Walnut356 Jul 16, 2026
b6849b3
add file operations to std dirfd
Qelxiros Jul 16, 2026
4946081
Update Rust crate rand to v0.9.3 [SECURITY]
renovate-bot Jul 16, 2026
458cc7f
Update Rust crate rkyv to v0.8.16 [SECURITY]
renovate-bot Jul 16, 2026
e4ed50d
Update Rust crate tar to v0.4.46 [SECURITY]
renovate-bot Jul 16, 2026
663d082
Update Rust crate tracing-subscriber [SECURITY]
renovate-bot Jul 16, 2026
73e371b
Update actions/checkout action to v7
renovate-bot Jul 16, 2026
d184880
Rollup merge of #150679 - Qelxiros:dirfd-files, r=Mark-Simulacrum
JonathanBrouwer Jul 16, 2026
2079ad4
Rollup merge of #158758 - josetorrs:rename-lazy-type-alias, r=lcnr
JonathanBrouwer Jul 16, 2026
50e094e
Rollup merge of #159177 - Kobzol:compiletest-debugger-config, r=jieyouxu
JonathanBrouwer Jul 16, 2026
05d57c2
Rollup merge of #159369 - Darksonn:core-io-inline, r=Mark-Simulacrum
JonathanBrouwer Jul 16, 2026
a23e602
Rollup merge of #159392 - renovate-bot:renovate/crate-rand-vulnerabil…
JonathanBrouwer Jul 16, 2026
a0fc109
Rollup merge of #159393 - renovate-bot:renovate/crate-rkyv-vulnerabil…
JonathanBrouwer Jul 16, 2026
646656e
Rollup merge of #159394 - renovate-bot:renovate/crate-tar-vulnerabili…
JonathanBrouwer Jul 16, 2026
3bda739
Rollup merge of #159395 - renovate-bot:renovate/crate-tracing-subscri…
JonathanBrouwer Jul 16, 2026
0e4a255
Rollup merge of #159193 - Kobzol:compiletest-clap, r=jieyouxu,Zalathar
JonathanBrouwer Jul 16, 2026
80f1948
Rollup merge of #158992 - estebank:shorten-type-highlighted-lt, r=mejrs
JonathanBrouwer Jul 16, 2026
ae43a9e
Rollup merge of #159226 - oli-obk:extra_lifetime_params_map, r=petroc…
JonathanBrouwer Jul 16, 2026
6474012
Rollup merge of #159273 - kn1g78:tidy-handle-large-numeric-sorts, r=c…
JonathanBrouwer Jul 16, 2026
f00b540
Rollup merge of #159329 - reidliu41:fix-metrics-dir-warning, r=jieyouxu
JonathanBrouwer Jul 16, 2026
93ca410
Rollup merge of #159357 - jakubadamw:issue-148096-148620, r=folkertdev
JonathanBrouwer Jul 16, 2026
1370bac
Rollup merge of #159360 - theemathas:del-44232-comments, r=petrochenkov
JonathanBrouwer Jul 16, 2026
82b8846
Rollup merge of #159375 - ferrocene:jyn/codegen-tests-2021, r=jieyouxu
JonathanBrouwer Jul 16, 2026
8bc8a93
Rollup merge of #159381 - Walnut356:cmd_prefix, r=Kobzol
JonathanBrouwer Jul 16, 2026
db66a6d
Rollup merge of #159396 - renovate-bot:renovate/major-github-actions,…
JonathanBrouwer Jul 16, 2026
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run_type: ${{ steps.jobs.outputs.run_type }}
steps:
- name: Checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Test citool
# Only test citool on the auto branch, to reduce latency of the calculate matrix job
# on PR/try builds.
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
run: git config --global core.autocrlf false

- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 2

Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
environment: ${{ (github.repository == 'rust-lang/rust' && 'bors') || '' }}
steps:
- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 2
# Publish the toolstate if an auto build succeeds (just before push to the default branch)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: recursive
- name: install the bootstrap toolchain
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
pull-requests: write
steps:
- name: checkout the source code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: download Cargo.lock from update job
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Needed to write to the ghcr.io registry
packages: write
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
# Make sure that we have enough commits to find the parent merge commit.
# Since all merges should be through merge commits, fetching two commits
Expand Down
72 changes: 33 additions & 39 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ version = "3.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand All @@ -887,9 +887,9 @@ dependencies = [
"anstyle-svg",
"build_helper",
"camino",
"clap",
"colored",
"diff",
"getopts",
"glob",
"home",
"indexmap",
Expand Down Expand Up @@ -1284,7 +1284,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -1411,7 +1411,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -1724,12 +1724,6 @@ dependencies = [
"foldhash 0.1.5",
]

[[package]]
name = "hashbrown"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"

[[package]]
name = "hashbrown"
version = "0.17.0"
Expand Down Expand Up @@ -2105,7 +2099,7 @@ dependencies = [
"libc",
"mio",
"postcard",
"rand 0.9.2",
"rand 0.9.3",
"rustc-hash 2.1.1",
"serde_core",
"tempfile",
Expand Down Expand Up @@ -2204,7 +2198,7 @@ dependencies = [
"portable-atomic",
"portable-atomic-util",
"serde_core",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -2691,7 +2685,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -3317,9 +3311,9 @@ dependencies = [

[[package]]
name = "rand"
version = "0.9.2"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
checksum = "7ec095654a25171c2124e9e3393a930bddbffdc939556c914957a4c3e0a87166"
dependencies = [
"rand_chacha",
"rand_core 0.9.3",
Expand Down Expand Up @@ -3510,13 +3504,13 @@ dependencies = [

[[package]]
name = "rkyv"
version = "0.8.15"
version = "0.8.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a30e631b7f4a03dee9056b8ef6982e8ba371dd5bedb74d3ec86df4499132c70"
checksum = "73389e0c99e664f919275ab5b5b0471391fe9a8de61e1dff9b1eaf56a90f16e3"
dependencies = [
"bytecheck",
"bytes",
"hashbrown 0.16.1",
"hashbrown 0.17.0",
"indexmap",
"munge",
"ptr_meta",
Expand All @@ -3529,9 +3523,9 @@ dependencies = [

[[package]]
name = "rkyv_derive"
version = "0.8.15"
version = "0.8.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8100bb34c0a1d0f907143db3149e6b4eea3c33b9ee8b189720168e818303986f"
checksum = "5d2ed0b54125315fb36bd021e82d314d1c126548f871634b483f46b31d13cac6"
dependencies = [
"proc-macro2",
"quote",
Expand Down Expand Up @@ -3636,7 +3630,7 @@ name = "rustc_abi"
version = "0.0.0"
dependencies = [
"bitflags",
"rand 0.9.2",
"rand 0.9.3",
"rand_xoshiro",
"rustc_data_structures",
"rustc_error_messages",
Expand Down Expand Up @@ -4215,7 +4209,7 @@ dependencies = [
name = "rustc_incremental"
version = "0.0.0"
dependencies = [
"rand 0.9.2",
"rand 0.9.3",
"rustc_data_structures",
"rustc_errors",
"rustc_fs_util",
Expand Down Expand Up @@ -4270,7 +4264,7 @@ dependencies = [
name = "rustc_interface"
version = "0.0.0"
dependencies = [
"rand 0.9.2",
"rand 0.9.3",
"rustc_abi",
"rustc_ast",
"rustc_ast_lowering",
Expand Down Expand Up @@ -4859,7 +4853,7 @@ dependencies = [
"crossbeam-deque",
"crossbeam-utils",
"libc",
"rand 0.9.2",
"rand 0.9.3",
"rand_xorshift",
"scoped-tls",
"smallvec",
Expand Down Expand Up @@ -5119,7 +5113,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -5532,9 +5526,9 @@ dependencies = [

[[package]]
name = "tar"
version = "0.4.45"
version = "0.4.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22692a6476a21fa75fdfc11d452fda482af402c008cdbaf3476414e122040973"
checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840"
dependencies = [
"filetime",
"libc",
Expand All @@ -5551,7 +5545,7 @@ dependencies = [
"getrandom 0.3.3",
"once_cell",
"rustix",
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand All @@ -5570,7 +5564,7 @@ version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8c27177b12a6399ffc08b98f76f7c9a1f4fe9fc967c784c5a071fa8d93cf7e1"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -5604,7 +5598,7 @@ version = "0.1.0"
dependencies = [
"indicatif",
"num",
"rand 0.9.2",
"rand 0.9.3",
"rand_chacha",
"rayon",
]
Expand Down Expand Up @@ -5877,9 +5871,9 @@ checksum = "d282ade6016312faf3e41e57ebbba0c073e4056dab1232ab1cb624199648f8ed"

[[package]]
name = "tracing"
version = "0.1.41"
version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
dependencies = [
"pin-project-lite",
"tracing-attributes",
Expand All @@ -5888,9 +5882,9 @@ dependencies = [

[[package]]
name = "tracing-attributes"
version = "0.1.30"
version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
dependencies = [
"proc-macro2",
"quote",
Expand All @@ -5899,9 +5893,9 @@ dependencies = [

[[package]]
name = "tracing-core"
version = "0.1.34"
version = "0.1.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
dependencies = [
"once_cell",
"valuable",
Expand Down Expand Up @@ -5940,9 +5934,9 @@ dependencies = [

[[package]]
name = "tracing-subscriber"
version = "0.3.20"
version = "0.3.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5"
checksum = "2f30143827ddab0d256fd843b7a66d164e9f271cfa0dde49142c5ca0ca291f1e"
dependencies = [
"matchers",
"nu-ansi-term",
Expand Down Expand Up @@ -6548,7 +6542,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]

[[package]]
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_ast_lowering/src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use super::diagnostics::{
use super::stability::{enabled_names, gate_unstable_abi};
use super::{
FnDeclKind, GenericArgsMode, ImplTraitContext, ImplTraitPosition, LoweringContext, ParamMode,
RelaxedBoundForbiddenReason, RelaxedBoundPolicy, ResolverAstLoweringExt,
RelaxedBoundForbiddenReason, RelaxedBoundPolicy,
};
use crate::diagnostics::ConstComptimeFn;

Expand Down Expand Up @@ -1878,7 +1878,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
.collect();

// Introduce extra lifetimes if late resolution tells us to.
let extra_lifetimes = self.resolver.extra_lifetime_params(self.owner.id);
let extra_lifetimes = self.owner.extra_lifetime_params(self.owner.id);
params.extend(extra_lifetimes.into_iter().map(|&(ident, node_id, kind)| {
self.lifetime_res_to_generic_param(
ident,
Expand Down
13 changes: 1 addition & 12 deletions compiler/rustc_ast_lowering/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,17 +351,6 @@ impl<'tcx> ResolverAstLowering<'tcx> {
)
.map(|fn_indexes| fn_indexes.iter().map(|(num, _)| *num).collect())
}

/// Obtain the list of lifetimes parameters to add to an item.
///
/// Extra lifetime parameters should only be added in places that can appear
/// as a `binder` in `LifetimeRes`.
///
/// The extra lifetimes that appear from the parenthesized `Fn`-trait desugaring
/// should appear at the enclosing `PolyTraitRef`.
fn extra_lifetime_params(&self, id: NodeId) -> &[(Ident, NodeId, MissingLifetimeKind)] {
self.extra_lifetime_params_map.get(&id).map_or(&[], |v| &v[..])
}
}

/// How relaxed bounds `?Trait` should be treated.
Expand Down Expand Up @@ -1129,7 +1118,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
) -> &'hir [hir::GenericParam<'hir>] {
// Start by creating params for extra lifetimes params, as this creates the definitions
// that may be referred to by the AST inside `generic_params`.
let extra_lifetimes = self.resolver.extra_lifetime_params(binder);
let extra_lifetimes = self.owner.extra_lifetime_params(binder);
debug!(?extra_lifetimes);
let extra_lifetimes: Vec<_> = extra_lifetimes
.iter()
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_passes/src/ast_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ impl Visitor<'_> for AstValidator<'_> {
}
self.check_type_no_bounds(bounds, "this context");

if self.features.lazy_type_alias() {
if self.features.checked_type_aliases() {
if let Err(err) = self.check_type_alias_where_clause_location(ty_alias) {
self.dcx().emit_err(err);
}
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_passes/src/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ pub(crate) struct FieldlessUnion {
pub(crate) struct WhereClauseAfterTypeAlias {
#[primary_span]
pub span: Span,
#[help("add `#![feature(lazy_type_alias)]` to the crate attributes to enable")]
#[help("add `#![feature(checked_type_aliases)]` to the crate attributes to enable")]
pub help: bool,
}

Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_borrowck/src/diagnostics/region_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl RegionName {
)) => {
diag.span_label(
*span,
format!("lifetime `{self}` appears in the type {type_name}"),
format!("lifetime `{self}` appears in the type `{type_name}`"),
);
}
RegionNameSource::AnonRegionFromOutput(
Expand Down
Loading
Loading