Skip to content

[WIP] #[fused]#155733

Draft
GrigorenkoPV wants to merge 5 commits intorust-lang:mainfrom
GrigorenkoPV:fuse
Draft

[WIP] #[fused]#155733
GrigorenkoPV wants to merge 5 commits intorust-lang:mainfrom
GrigorenkoPV:fuse

Conversation

@GrigorenkoPV
Copy link
Copy Markdown
Contributor

@GrigorenkoPV GrigorenkoPV commented Apr 24, 2026

TODO:

  • TODOs in code
  • Attribute validation
  • mir tests
  • support async blocks & async closures
  • A proper tracking issue, if this does not get rejected

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 24, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job pr-check-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
    Checking rustc_passes v0.0.0 (/checkout/compiler/rustc_passes)
warning: unused variable: `hir_id`
    --> compiler/rustc_passes/src/check_attr.rs:1741:27
     |
1741 |     fn check_fused(&self, hir_id: HirId, attr_span: Span, target: Target) {
     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_id`
     |
     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `attr_span`
    --> compiler/rustc_passes/src/check_attr.rs:1741:42
     |
1741 |     fn check_fused(&self, hir_id: HirId, attr_span: Span, target: Target) {
     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_span`

[RUSTC-TIMING] rustc_passes test:false 1.294
error: `rustc_passes` (lib) generated 2 warnings (run `cargo fix --lib -p rustc_passes` to apply 2 suggestions)
error: warnings are denied by `build.warnings` configuration
warning: build failed, waiting for other jobs to finish...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

3 participants