Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
steveklabnik opened this issue Oct 28, 2020 · 6 comments
Closed

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

steveklabnik opened this issue Oct 28, 2020 · 6 comments
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-rustfmt Area: Rustfmt regression-from-stable-to-stable Performance or correctness regression from one stable version to another.

Comments

@steveklabnik
Copy link
Member

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

@rustbot rustbot added regression-from-stable-to-stable Performance or correctness regression from one stable version to another. I-prioritize Issue: Indicates that prioritization has been requested for this issue. labels Oct 28, 2020
@ehuss
Copy link
Contributor

ehuss commented Oct 28, 2020

@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.

@steveklabnik
Copy link
Member Author

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?

@tarcieri
Copy link
Contributor

@dwarburt
Copy link

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]$ 

@camelid camelid added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-rustfmt Area: Rustfmt labels Oct 28, 2020
@djc
Copy link
Contributor

djc commented Nov 3, 2020

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).

@steveklabnik
Copy link
Member Author

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

sorry about the noise.

@jyn514 jyn514 removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-rustfmt Area: Rustfmt regression-from-stable-to-stable Performance or correctness regression from one stable version to another.
Projects
None yet
Development

No branches or pull requests

8 participants