I am getting a compilation error with generated D-Bus bindings using a deprecated method. I do not think the application context matters too much here, but I can provide more info if it helps. From my understanding, dbus-codegen-rust produces annotations on both trait declaration and trait implementations, while they should only be present in the declaration. I hope this is correct, I am quite new to Rust.
error: this `#[deprecated]` annotation has no effect
--> wsbrddbusapi.rs:135:5
|
135 | #[deprecated(note = "true")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute
|
= note: `#[deny(useless_deprecated)]` on by default
I am getting a compilation error with generated D-Bus bindings using a deprecated method. I do not think the application context matters too much here, but I can provide more info if it helps. From my understanding,
dbus-codegen-rust
produces annotations on both trait declaration and trait implementations, while they should only be present in the declaration. I hope this is correct, I am quite new to Rust.With Rust 1.41.1:
With Rust 1.62.1: