Skip to content

compiler: do not emit rustfmt_skip inner attr, since it is unstable #479

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

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

nrc
Copy link
Contributor

@nrc nrc commented Aug 14, 2020

Codegen emitted an inner cfg_attr attribute, which caused problems with stable Rust (according to tikv/raft-rs#390 (comment)). This PR removes that line. The user can always add it as an outer attribute if they want to skip formatting.

cc tikv/raft-rs#390

PTAL @BusyJay @overvenus

@nrc nrc merged commit 69e0b04 into tikv:master Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants