Skip to content

Port rustc_intrinsic_const_stable_indirect and rustc_intrinsic to the new attribute parser#152168

Open
jdonszelmann wants to merge 2 commits intorust-lang:mainfrom
jdonszelmann:port-rustc-intrinsic-const-stable-indirect
Open

Port rustc_intrinsic_const_stable_indirect and rustc_intrinsic to the new attribute parser#152168
jdonszelmann wants to merge 2 commits intorust-lang:mainfrom
jdonszelmann:port-rustc-intrinsic-const-stable-indirect

Conversation

@jdonszelmann
Copy link
Contributor

@rustbot
Copy link
Collaborator

rustbot commented Feb 5, 2026

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

⚠️ #[rustc_intrinsic_const_stable_indirect] controls whether intrinsics can be exposed to stable const
code; adding it needs t-lang approval.

cc @rust-lang/wg-const-eval

Some changes occurred in compiler/rustc_passes/src/check_attr.rs

cc @JonathanBrouwer

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred in compiler/rustc_attr_parsing

cc @JonathanBrouwer

Some changes occurred in compiler/rustc_hir/src/attrs

cc @JonathanBrouwer

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 5, 2026
@JonathanBrouwer
Copy link
Contributor

JonathanBrouwer commented Feb 5, 2026

r=me after #152167 is merged and this is rebased on that, or you can merge both together

@jdonszelmann jdonszelmann force-pushed the port-rustc-intrinsic-const-stable-indirect branch from 22ae6b0 to 8268517 Compare February 5, 2026 13:26
@rustbot
Copy link
Collaborator

rustbot commented Feb 5, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@jdonszelmann jdonszelmann changed the title Port rustc_intrinsic_const_stable_indirect to the new attribute parser Port rustc_intrinsic_const_stable_indirect and rustc_intrinsic to the new attribute parser Feb 5, 2026
@rust-log-analyzer

This comment has been minimized.

@jdonszelmann jdonszelmann force-pushed the port-rustc-intrinsic-const-stable-indirect branch from 8268517 to 37e8d50 Compare February 5, 2026 13:34
@rust-log-analyzer

This comment has been minimized.

@jdonszelmann jdonszelmann force-pushed the port-rustc-intrinsic-const-stable-indirect branch from 37e8d50 to 9f51113 Compare February 5, 2026 14:50
@rust-log-analyzer

This comment has been minimized.

@jdonszelmann jdonszelmann force-pushed the port-rustc-intrinsic-const-stable-indirect branch from 9f51113 to e87296b Compare February 5, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants