You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```
error: unexpected `cfg` condition name: `rustfmt`
--> src/gen/ast_struct.rs:6:13
|
6 | #![cfg_attr(rustfmt, rustfmt::skip)]
| ^^^^^^^
|
= help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(rustfmt)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
error: unexpected `cfg` condition name: `rustfmt`
--> src/gen/ast_enum.rs:6:13
|
6 | #![cfg_attr(rustfmt, rustfmt::skip)]
| ^^^^^^^
|
= help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(rustfmt)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
error: unexpected `cfg` condition name: `rustfmt`
--> src/gen/convert.rs:6:13
|
6 | #![cfg_attr(rustfmt, rustfmt::skip)]
| ^^^^^^^
|
= help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(rustfmt)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
```
Due to rust-lang/rust#124735, we cannot
disable this lint at module-level.
0 commit comments