Skip to content

Port rustc_effective_visibility to the new attribute parser - #152170

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
jdonszelmann:port-rustc-effective-visibility
Feb 6, 2026
Merged

Port rustc_effective_visibility to the new attribute parser#152170
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
jdonszelmann:port-rustc-effective-visibility

Conversation

@jdonszelmann

Copy link
Copy Markdown
Contributor

@rustbot

Copy link
Copy Markdown
Collaborator

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

cc @JonathanBrouwer

Some changes occurred in compiler/rustc_hir/src/attrs

cc @JonathanBrouwer

Some changes occurred in compiler/rustc_attr_parsing

cc @JonathanBrouwer

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 src/tools/clippy

cc @rust-lang/clippy

@rustbotrustbot 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
@jdonszelmann

Copy link
Copy Markdown
ContributorAuthor

let's do this one separately, it's unrelated

@jdonszelmann

Copy link
Copy Markdown
ContributorAuthor

based on it anyway, since we'll get conflicts. They're next to eachother in a file.

@jdonszelmann

Copy link
Copy Markdown
ContributorAuthor

unlinked them after all

@jdonszelmann
jdonszelmannforce-pushed the port-rustc-effective-visibility branch from 58d3317 to 4935b73CompareFebruary 5, 2026 14:19
@rust-log-analyzer

This comment has been minimized.

@jdonszelmann
jdonszelmannforce-pushed the port-rustc-effective-visibility branch from 4935b73 to 9112039CompareFebruary 5, 2026 14:33
@JonathanBrouwer

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-borsBot commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 9112039 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-borsrust-borsBot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 5, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 5, 2026
…visibility, r=JonathanBrouwer
Port `rustc_effective_visibility` to the new attribute parser
r? @JonathanBrouwer
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 5, 2026
…visibility, r=JonathanBrouwer
Port `rustc_effective_visibility` to the new attribute parser
r? @JonathanBrouwer
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
…uwer
Rollup of 9 pull requests
Successful merges:
- #151278 (Provide more context on trait bounds being unmet due to imperfect derive)
- #151955 (escape symbol names in global asm)
- #149329 (Mark match arms in try and for as being from desugarings.)
- #151474 (Minor structural improvements)
- #151744 (fix refining_impl_trait suggestion with return_type_notation)
- #152107 (Convert to inline diagnostics in `rustc_borrowck`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152136 (Consolidate type const checks on `tcx.is_type_const`)
- #152170 (Port `rustc_effective_visibility` to the new attribute parser)
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
…uwer
Rollup of 9 pull requests
Successful merges:
- #151278 (Provide more context on trait bounds being unmet due to imperfect derive)
- #151955 (escape symbol names in global asm)
- #149329 (Mark match arms in try and for as being from desugarings.)
- #151474 (Minor structural improvements)
- #151744 (fix refining_impl_trait suggestion with return_type_notation)
- #152107 (Convert to inline diagnostics in `rustc_borrowck`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152136 (Consolidate type const checks on `tcx.is_type_const`)
- #152170 (Port `rustc_effective_visibility` to the new attribute parser)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 5, 2026
…visibility, r=JonathanBrouwer
Port `rustc_effective_visibility` to the new attribute parser
r? @JonathanBrouwer
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
…uwer
Rollup of 11 pull requests
Successful merges:
- #152174 (stdarch subtree update)
- #151278 (Provide more context on trait bounds being unmet due to imperfect derive)
- #151955 (escape symbol names in global asm)
- #149329 (Mark match arms in try and for as being from desugarings.)
- #151474 (Minor structural improvements)
- #151744 (fix refining_impl_trait suggestion with return_type_notation)
- #152107 (Convert to inline diagnostics in `rustc_borrowck`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152136 (Consolidate type const checks on `tcx.is_type_const`)
- #152170 (Port `rustc_effective_visibility` to the new attribute parser)
- #152184 (Port rustc_abi to the attribute parser)
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
…uwer
Rollup of 11 pull requests
Successful merges:
- #152174 (stdarch subtree update)
- #151278 (Provide more context on trait bounds being unmet due to imperfect derive)
- #151955 (escape symbol names in global asm)
- #149329 (Mark match arms in try and for as being from desugarings.)
- #151474 (Minor structural improvements)
- #151744 (fix refining_impl_trait suggestion with return_type_notation)
- #152107 (Convert to inline diagnostics in `rustc_borrowck`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152136 (Consolidate type const checks on `tcx.is_type_const`)
- #152170 (Port `rustc_effective_visibility` to the new attribute parser)
- #152184 (Port rustc_abi to the attribute parser)
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
…uwer
Rollup of 11 pull requests
Successful merges:
- #152174 (stdarch subtree update)
- #151278 (Provide more context on trait bounds being unmet due to imperfect derive)
- #151955 (escape symbol names in global asm)
- #149329 (Mark match arms in try and for as being from desugarings.)
- #151474 (Minor structural improvements)
- #151744 (fix refining_impl_trait suggestion with return_type_notation)
- #152107 (Convert to inline diagnostics in `rustc_borrowck`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152136 (Consolidate type const checks on `tcx.is_type_const`)
- #152170 (Port `rustc_effective_visibility` to the new attribute parser)
- #152184 (Port rustc_abi to the attribute parser)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 6, 2026
…visibility, r=JonathanBrouwer
Port `rustc_effective_visibility` to the new attribute parser
r? @JonathanBrouwer
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 6, 2026
…visibility, r=JonathanBrouwer
Port `rustc_effective_visibility` to the new attribute parser
r? @JonathanBrouwer
This was referenced Feb 6, 2026
rust-borsBot pushed a commit that referenced this pull request Feb 6, 2026
…uwer
Rollup of 13 pull requests
Successful merges:
- #152191 (Convert to inline diagnostics in `rustc_hir_analysis`)
- #149329 (Mark match arms in try and for as being from desugarings.)
- #151474 (Minor structural improvements)
- #152107 (Convert to inline diagnostics in `rustc_borrowck`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152136 (Consolidate type const checks on `tcx.is_type_const`)
- #152140 (Hard code the error code registry for custom drivers)
- #152155 (Fix typos in riscv64a23-unknown-linux-gnu.md)
- #152170 (Port `rustc_effective_visibility` to the new attribute parser)
- #152182 (update compiler stable backport zulip msg)
- #152184 (Port rustc_abi to the attribute parser)
- #152195 (update openmp/offload builds to LLVM 22, Part 1)
- #152202 (chore: clearify tidy's error message)
Failed merges:
- #151744 (fix refining_impl_trait suggestion with return_type_notation)
- #152212 (Port some attributes to the attr parser)
@rust-bors
rust-borsBot merged commit 19f4c05 into rust-lang:mainFeb 6, 2026
11 checks passed
@rustbotrustbot added this to the 1.95.0 milestone Feb 6, 2026
rust-timer added a commit that referenced this pull request Feb 6, 2026
Rollup merge of #152170 - jdonszelmann:port-rustc-effective-visibility, r=JonathanBrouwer
Port `rustc_effective_visibility` to the new attribute parser
r? @JonathanBrouwer
github-actionsBot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Feb 16, 2026
…uwer
Rollup of 13 pull requests
Successful merges:
- rust-lang/rust#152191 (Convert to inline diagnostics in `rustc_hir_analysis`)
- rust-lang/rust#149329 (Mark match arms in try and for as being from desugarings.)
- rust-lang/rust#151474 (Minor structural improvements)
- rust-lang/rust#152107 (Convert to inline diagnostics in `rustc_borrowck`)
- rust-lang/rust#152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- rust-lang/rust#152136 (Consolidate type const checks on `tcx.is_type_const`)
- rust-lang/rust#152140 (Hard code the error code registry for custom drivers)
- rust-lang/rust#152155 (Fix typos in riscv64a23-unknown-linux-gnu.md)
- rust-lang/rust#152170 (Port `rustc_effective_visibility` to the new attribute parser)
- rust-lang/rust#152182 (update compiler stable backport zulip msg)
- rust-lang/rust#152184 (Port rustc_abi to the attribute parser)
- rust-lang/rust#152195 (update openmp/offload builds to LLVM 22, Part 1)
- rust-lang/rust#152202 (chore: clearify tidy's error message)
Failed merges:
- rust-lang/rust#151744 (fix refining_impl_trait suggestion with return_type_notation)
- rust-lang/rust#152212 (Port some attributes to the attr parser)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-clippyRelevant to the Clippy team.T-compilerRelevant 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

@jdonszelmann@rustbot@rust-log-analyzer@JonathanBrouwer