Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ac159dd
Add help message suggesting explicit reference cast for From/TryFrom
Muhtasim-Rasheed Feb 1, 2026
dc24aae
Modernize diagnostic for indeterminate trait object lifetime bounds
fmease Jan 29, 2026
03dcd99
Format heterogeneous try blocks
ia0 Feb 7, 2026
d5c6866
improve tests
ia0 Feb 7, 2026
90fd768
Make it clearer that `check_pat_lit` only handles literal patterns
Zalathar Jan 4, 2026
91d47a5
Don't import `TyCtxt` from `crate::ty::context`
Zalathar Feb 8, 2026
4234d2d
Move `impl Interner for TyCtxt` to its own submodule
Zalathar Feb 8, 2026
b7bfb76
Indicate that `bidirectional_lang_item_map!` declares functions
Zalathar Feb 8, 2026
4dc82e9
Move the needs-drop check for `arena_cache` queries out of macro code
Zalathar Feb 5, 2026
20f65fc
Uplift `Predicate::allow_normalization` to `rustc_type_ir`
ShoyuVanilla Feb 9, 2026
d215efd
Port #![test_runner] to the attribute parser
Ozzy1423 Feb 10, 2026
00fef81
Port `rustc_expected_cgu_reuse` to the new attribute parser
jdonszelmann Feb 7, 2026
9cc2924
Port `rustc_deprecated_safe_2024` to the new attribute parser
jdonszelmann Feb 7, 2026
9d10b2f
Port `rustc_conversion_suggestion` to the new attribute parser
jdonszelmann Feb 7, 2026
a17eb93
Port `rustc_capture_analysis` to the new attribute parser
jdonszelmann Feb 7, 2026
ea36128
Remove SubdiagMessage in favour of the identical DiagMessage
JonathanBrouwer Feb 10, 2026
954f483
Port `rustc_never_type_options` to the new attribute parser
jdonszelmann Feb 7, 2026
2377d35
Update documentation of rustc_macros
JonathanBrouwer Feb 10, 2026
f4c135f
Port `rustc_trivial_field_reads` to the new attribute parser
jdonszelmann Feb 7, 2026
eab26e3
Port `rustc_no_mir_inline` to the new attribute parser
jdonszelmann Feb 7, 2026
fe7530c
Make `rustc_object_lifetime_default` use NoArgsAttributeParser
jdonszelmann Feb 7, 2026
c51cd49
remove 'static in many places
jdonszelmann Feb 8, 2026
9ef29d6
Rollup merge of #152364 - jdonszelmann:port-a-lot, r=jonathanbrouwer
JonathanBrouwer Feb 10, 2026
8e470dc
Rollup merge of #151954 - Muhtasim-Rasheed:issue-109829-help-message,…
JonathanBrouwer Feb 10, 2026
e8e2813
Rollup merge of #152148 - Zalathar:tcx-interner, r=petrochenkov
JonathanBrouwer Feb 10, 2026
ca40479
Rollup merge of #152226 - fmease:modernize-indeterminate-object-lifet…
JonathanBrouwer Feb 10, 2026
726b757
Rollup merge of #152351 - JonathanBrouwer:remove_subdiag, r=nnethercote
JonathanBrouwer Feb 10, 2026
dd4e24d
Rollup merge of #152417 - Zalathar:arena-alloc, r=nnethercote
JonathanBrouwer Feb 10, 2026
3b5e345
Rollup merge of #150688 - Zalathar:check-pat-lit, r=petrochenkov
JonathanBrouwer Feb 10, 2026
7d29eed
Rollup merge of #152293 - ia0:try_blocks_heterogeneous, r=ytmimi
JonathanBrouwer Feb 10, 2026
1645f25
Rollup merge of #152355 - JonathanBrouwer:update-macro-doc, r=nnether…
JonathanBrouwer Feb 10, 2026
2e8a60c
Rollup merge of #152396 - ShoyuVanilla:uplift-allow-normalize, r=lcnr
JonathanBrouwer Feb 10, 2026
9065f62
Rollup merge of #152425 - Ozzy1423:test-runner, r=JonathanBrouwer
JonathanBrouwer Feb 10, 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
1 change: 0 additions & 1 deletion Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3687,7 +3687,6 @@ dependencies = [
"serde_json",
"smallvec",
"tempfile",
"thin-vec",
"thorin-dwp",
"tracing",
"wasm-encoder 0.219.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl<S: Stage> CombineAttributeParser<S> for AllowInternalUnstableParser {

pub(crate) struct UnstableFeatureBoundParser;
impl<S: Stage> CombineAttributeParser<S> for UnstableFeatureBoundParser {
const PATH: &'static [rustc_span::Symbol] = &[sym::unstable_feature_bound];
const PATH: &[rustc_span::Symbol] = &[sym::unstable_feature_bound];
type Item = (Symbol, Span);
const CONVERT: ConvertFn<Self::Item> = |items, _| AttributeKind::UnstableFeatureBound(items);
const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_attr_parsing/src/attributes/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use super::prelude::*;
pub(crate) struct InlineParser;

impl<S: Stage> SingleAttributeParser<S> for InlineParser {
const PATH: &'static [Symbol] = &[sym::inline];
const PATH: &[Symbol] = &[sym::inline];
const ATTRIBUTE_ORDER: AttributeOrder = AttributeOrder::KeepOutermost;
const ON_DUPLICATE: OnDuplicate<S> = OnDuplicate::WarnButFutureError;
const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[
Expand Down Expand Up @@ -67,7 +67,7 @@ impl<S: Stage> SingleAttributeParser<S> for InlineParser {
pub(crate) struct RustcForceInlineParser;

impl<S: Stage> SingleAttributeParser<S> for RustcForceInlineParser {
const PATH: &'static [Symbol] = &[sym::rustc_force_inline];
const PATH: &[Symbol] = &[sym::rustc_force_inline];
const ATTRIBUTE_ORDER: AttributeOrder = AttributeOrder::KeepOutermost;
const ON_DUPLICATE: OnDuplicate<S> = OnDuplicate::WarnButFutureError;
const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_attr_parsing/src/attributes/repr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ fn parse_alignment(node: &LitKind) -> Result<Align, &'static str> {
pub(crate) struct AlignParser(Option<(Align, Span)>);

impl AlignParser {
const PATH: &'static [Symbol] = &[sym::rustc_align];
const PATH: &[Symbol] = &[sym::rustc_align];
const TEMPLATE: AttributeTemplate = template!(List: &["<alignment in bytes>"]);

fn parse<S: Stage>(&mut self, cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) {
Expand Down Expand Up @@ -329,7 +329,7 @@ impl<S: Stage> AttributeParser<S> for AlignParser {
pub(crate) struct AlignStaticParser(AlignParser);

impl AlignStaticParser {
const PATH: &'static [Symbol] = &[sym::rustc_align_static];
const PATH: &[Symbol] = &[sym::rustc_align_static];
const TEMPLATE: AttributeTemplate = AlignParser::TEMPLATE;

fn parse<S: Stage>(&mut self, cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) {
Expand Down
Loading
Loading