Skip to content

Possible regression with #[rustfmt::skip] #78488

Closed

Description

@steveklabnik

Hi folks! I am getting users reporting a regression in the semver crates, see:

It appears that the rustfmt attributes are no longer considered "built-in"? Or am I completely mis-remembering this?

Sorry for not being 100% sure about the regression here, but I don't want this to get lost.

@rustbot modify labels: +regression-from-stable-to-stable -regression-untriaged

Activity

  1. added
    regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    on Oct 28, 2020
  2. ehuss commented on Oct 28, 2020

    @ehuss
    Contributor

    @steveklabnik I believe this was changed in 1.44 probably via #69838. Do you happen to know which version the reporter was using? 1.44 or newer should build ok.

    There are still some oddities with inner tool attributes like #74087, so it is possible it could be that.

  3. steveklabnik commented on Oct 28, 2020

    @steveklabnik
    ContributorAuthor

    I don't know, but let's see if they can tell us: @dwarburt and @tarcieri (as well as @krisfris, who gave a 👍 on tony's issue), what Rust versions are you using?

  4. tarcieri commented on Oct 28, 2020

    @tarcieri
    Contributor
  5. dwarburt commented on Oct 28, 2020

    @dwarburt

    I'm using the toolchain that the brave-browser build scripts downloads

    ✔ ~/git/fork/brave-browser [master|✚ 1]$ ./src/brave/build/rustup/0.1.4/bin/rustc --version
    rustc 1.47.0 (18bf6b4f0 2020-10-07)
    ✔ ~/git/fork/brave-browser [master|✚ 1]$ 
    
  6. djc commented on Nov 3, 2020

    @djc
    Contributor

    I ran into this with 1.34.0 (which is the MSRV for err-derive, which used to depend on semver-parser via rustc-version).

  7. steveklabnik commented on Nov 5, 2020

    @steveklabnik
    ContributorAuthor

    It appears this is actually my fault: steveklabnik/semver-parser#52 (comment)

    sorry about the noise.

  8. removed
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    on Feb 28, 2021
  9. added
    T-rustfmtRelevant to the rustfmt team, which will review and decide on the PR/issue.
    and removed on Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)T-rustfmtRelevant to the rustfmt team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions