Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 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
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
12dbc1b
remove 'static in many places
jdonszelmann Feb 8, 2026
935904f
Rollup merge of #152364 - jdonszelmann:port-a-lot, r=jonathanbrouwer
JonathanBrouwer Feb 10, 2026
39bb681
Rollup merge of #151954 - Muhtasim-Rasheed:issue-109829-help-message,…
JonathanBrouwer Feb 10, 2026
2aaf3a1
Rollup merge of #152148 - Zalathar:tcx-interner, r=petrochenkov
JonathanBrouwer Feb 10, 2026
2af7bc0
Rollup merge of #152226 - fmease:modernize-indeterminate-object-lifet…
JonathanBrouwer Feb 10, 2026
70ef504
Rollup merge of #152351 - JonathanBrouwer:remove_subdiag, r=nnethercote
JonathanBrouwer Feb 10, 2026
5541e5c
Rollup merge of #152417 - Zalathar:arena-alloc, r=nnethercote
JonathanBrouwer Feb 10, 2026
b5cf352
Rollup merge of #150688 - Zalathar:check-pat-lit, r=petrochenkov
JonathanBrouwer Feb 10, 2026
d9a8675
Rollup merge of #152293 - ia0:try_blocks_heterogeneous, r=ytmimi
JonathanBrouwer Feb 10, 2026
faa1580
Rollup merge of #152355 - JonathanBrouwer:update-macro-doc, r=nnether…
JonathanBrouwer Feb 10, 2026
083622c
Rollup merge of #152396 - ShoyuVanilla:uplift-allow-normalize, r=lcnr
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