Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c7d949d
Remove -Zsaturating-float-casts flag
hanna-kruppe Aug 29, 2026
938b233
doc: `PrintKind`
ShE3py Aug 30, 2026
2e7e5cb
rustdoc: cleanup `main_args()` markdown handling
ShE3py Aug 30, 2026
41258df
Move more `rustdoc-html` tests using `--test` into the right folder
GuillaumeGomez Aug 30, 2026
614d9ea
Fix invalid `compile-args` ui tests argument
GuillaumeGomez Aug 30, 2026
57cc38f
rustdoc: add `--print` option
ShE3py Jul 13, 2026
736a14b
rustdoc: test `--print` option
ShE3py Aug 30, 2026
0e6616b
rustdoc: filter print kinds
ShE3py Aug 30, 2026
d3a3f13
change DEFAULT_STACK_SIZE to be 17MB
fneddy Aug 25, 2026
f771946
Rework `next_power_of_two` to always be `1 << …`
scottmcm Aug 17, 2026
b5e8344
`alloc` crate: shrink undocumented `unsafe` blocks
DanielEScherzer Sep 1, 2026
ac1ba50
Some fixes re linking and no-std
Sa4dUs Aug 29, 2026
5698c8d
Move run-make tests to offload folder
Sa4dUs Sep 1, 2026
80dc5df
Update icu_list to 2.3
robertbastian Aug 18, 2026
bf27a5a
rustdoc: add tests for Markdown files
ShE3py Sep 1, 2026
dd13221
Dogfood never type in std
camsteffen Aug 31, 2026
5ba810f
Normalize more rustdoc-ui doctest output
GuillaumeGomez Sep 1, 2026
baf382f
make it clear that Range cannot represent arbitrary ranges
RalfJung Sep 1, 2026
7a02fd9
Remove `gate_check` from `AttributeStability::Unstable`
JonathanBrouwer Aug 31, 2026
cfe0bae
Rollup merge of #151618 - ShE3py:rustdoc-print, r=notriddle
JonathanBrouwer Sep 1, 2026
3079b23
Rollup merge of #161287 - robertbastian:23, r=Manishearth
JonathanBrouwer Sep 1, 2026
cb78a87
Rollup merge of #161767 - fneddy:fix_stack_size_s390x, r=ChrisDenton
JonathanBrouwer Sep 1, 2026
1c83ec2
Rollup merge of #161968 - Sa4dUs:offload-fix, r=ZuseZ4
JonathanBrouwer Sep 1, 2026
ec255ad
Rollup merge of #161971 - hanna-kruppe:rm-flag-satfpcast, r=RalfJung
JonathanBrouwer Sep 1, 2026
3432bb2
Rollup merge of #161209 - scottmcm:redo-npot, r=clarfonthey
JonathanBrouwer Sep 1, 2026
d57a39f
Rollup merge of #162014 - GuillaumeGomez:more-ui-tests, r=fmease
JonathanBrouwer Sep 1, 2026
30a2d0d
Rollup merge of #162073 - camsteffen:lib-eat-never, r=clarfonthey
JonathanBrouwer Sep 1, 2026
bf5e0dc
Rollup merge of #162086 - JonathanBrouwer:remove_gate_check, r=mejrs
JonathanBrouwer Sep 1, 2026
59d396a
Rollup merge of #162102 - DanielEScherzer:less-unsafe-in-alloc, r=cla…
JonathanBrouwer Sep 1, 2026
31ea8db
Rollup merge of #162110 - RalfJung:range, r=nia-e
JonathanBrouwer Sep 1, 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
73 changes: 36 additions & 37 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1812,9 +1812,9 @@ dependencies = [

[[package]]
name = "icu_list"
version = "2.2.0"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aeeaf517689324395bed4767f7c65504f5455942ed4c14ee54c2087ca00b816e"
checksum = "5a5c625125085fac4bf9ad111888a90c6ab9dc7bcaec392ca79cab417f46e3fb"
dependencies = [
"icu_provider",
"regex-automata",
Expand All @@ -1824,39 +1824,38 @@ dependencies = [
]

[[package]]
name = "icu_locale"
version = "2.2.0"
name = "icu_locale_core"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5a396343c7208121dc86e35623d3dfe19814a7613cfd14964994cdc9c9a2e26"
checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
dependencies = [
"icu_collections",
"icu_locale_core",
"icu_locale_data",
"icu_provider",
"potential_utf",
"displaydoc",
"litemap",
"serde",
"tinystr",
"writeable",
"zerovec",
]

[[package]]
name = "icu_locale_core"
version = "2.2.0"
name = "icu_locale_fallback"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
checksum = "251af8e57c9400e3eb58242fe5b8b1152b2a64fdf4cf632f923c38ccee6f2fa9"
dependencies = [
"displaydoc",
"litemap",
"serde",
"icu_locale_core",
"icu_locale_fallback_data",
"icu_provider",
"potential_utf",
"tinystr",
"writeable",
"zerovec",
]

[[package]]
name = "icu_locale_data"
version = "2.2.0"
name = "icu_locale_fallback_data"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5fdcc9ac77c6d74ff5cf6e65ef3181d6af32003b16fce3a77fb451d2f695993"
checksum = "decf2a22ec8fa68f1a0c1129a3f8583f8f8bc24e8b9ccbe98ead99f62a4dc3a8"

[[package]]
name = "icu_normalizer"
Expand Down Expand Up @@ -1900,9 +1899,9 @@ checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"

[[package]]
name = "icu_provider"
version = "2.2.0"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
checksum = "92a7ed671a6aad807a8651a2e1782a6598fda9ce5185dd8158549e95a91c6428"
dependencies = [
"displaydoc",
"icu_locale_core",
Expand Down Expand Up @@ -3727,7 +3726,7 @@ name = "rustc_baked_icu_data"
version = "0.0.0"
dependencies = [
"icu_list",
"icu_locale",
"icu_locale_fallback",
"icu_provider",
"zerovec",
]
Expand Down Expand Up @@ -4003,7 +4002,7 @@ version = "0.0.0"
dependencies = [
"fluent-bundle",
"icu_list",
"icu_locale",
"icu_locale_core",
"intl-memoizer",
"rustc_baked_icu_data",
"rustc_data_structures",
Expand Down Expand Up @@ -5783,9 +5782,9 @@ dependencies = [

[[package]]
name = "tinystr"
version = "0.8.3"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
dependencies = [
"displaydoc",
"serde_core",
Expand Down Expand Up @@ -6901,9 +6900,9 @@ dependencies = [

[[package]]
name = "writeable"
version = "0.6.2"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9"
checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"

[[package]]
name = "x"
Expand All @@ -6930,9 +6929,9 @@ dependencies = [

[[package]]
name = "yoke"
version = "0.8.2"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca"
checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
dependencies = [
"stable_deref_trait",
"yoke-derive",
Expand Down Expand Up @@ -6994,9 +6993,9 @@ dependencies = [

[[package]]
name = "zerotrie"
version = "0.2.4"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
dependencies = [
"displaydoc",
"yoke",
Expand All @@ -7006,9 +7005,9 @@ dependencies = [

[[package]]
name = "zerovec"
version = "0.11.6"
version = "0.11.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
checksum = "94b5c6b5976d66c1d703c4fd17d3f5e43c8cedaacf604961b171adc7130896d8"
dependencies = [
"serde",
"yoke",
Expand All @@ -7018,13 +7017,13 @@ dependencies = [

[[package]]
name = "zerovec-derive"
version = "0.11.3"
version = "0.11.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
checksum = "9f212a141d820099d57ffafb9569be9617a6f27d3dc881fbee8fb56642f917a9"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.117",
"syn 3.0.3",
]

[[package]]
Expand Down
13 changes: 7 additions & 6 deletions compiler/rustc_attr_parsing/src/stability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ use crate::{AttributeParser, ShouldEmit};

#[macro_export]
macro_rules! unstable {
($feat: ident $(, $notes:expr)*) => {
($feat: ident $(, $notes:expr)*) => {{
// Check that the feature exists
_ = rustc_feature::Features::$feat;

AttributeStability::Unstable {
gate_name: rustc_span::sym::$feat,
gate_check: rustc_feature::Features::$feat,
notes: &[$($notes),*],
}
};
}};
}

impl<'sess> AttributeParser<'sess> {
Expand All @@ -27,12 +29,11 @@ impl<'sess> AttributeParser<'sess> {
return;
}

let AttributeStability::Unstable { gate_check, gate_name, notes } = expected_stability
else {
let AttributeStability::Unstable { gate_name, notes } = expected_stability else {
return;
};

if gate_check(self.features()) || attr_span.allows_unstable(gate_name) {
if self.features().enabled(gate_name) || attr_span.allows_unstable(gate_name) {
return;
}

Expand Down
6 changes: 3 additions & 3 deletions compiler/rustc_baked_icu_data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ edition = "2024"

[dependencies]
# tidy-alphabetical-start
icu_list = { version = "2.2", default-features = false }
icu_locale = { version = "2.2", default-features = false, features = ["compiled_data"] }
icu_provider = { version = "2.2", features = ["baked", "sync"] }
icu_list = { version = "2.3", default-features = false }
icu_locale_fallback = { version = "2.3", default-features = false, features = ["compiled_data"] }
icu_provider = { version = "2.3", features = ["baked", "sync"] }
zerovec = "0.11.0"
# tidy-alphabetical-end
Loading
Loading