svd2rust v0.30.1 is including
# ! [deny (private_bounds)]
# ! [deny (private_interfaces)]
in the generated output when running as svd2rust --target none -i my_registers.svd -o src/
These lints are unstable and the resulting code gives warnings when built with rustc 1.73.0:
warning: unknown lint: `private_bounds`
--> src/lib.rs:11:1
|
11 | # ! [deny (private_bounds)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the `private_bounds` lint is unstable
= note: see issue #48054 <https://github.com/rust-lang/rust/issues/48054> for more information
= note: `#[warn(unknown_lints)]` on by default
warning: unknown lint: `private_interfaces`
--> src/lib.rs:12:1
|
12 | # ! [deny (private_interfaces)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the `private_interfaces` lint is unstable
= note: see issue #48054 <https://github.com/rust-lang/rust/issues/48054> for more information
svd2rust v0.30.0 doesn't do this. I've seen that this change was in included in f097443, apparently to fix the clippy lints on nightly, but it seems that it breaks them on stable.
svd2rust v0.30.1 is including
in the generated output when running as
svd2rust --target none -i my_registers.svd -o src/These lints are unstable and the resulting code gives warnings when built with rustc 1.73.0:
svd2rust v0.30.0 doesn't do this. I've seen that this change was in included in f097443, apparently to fix the clippy lints on nightly, but it seems that it breaks them on stable.