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
After I upgraded to version 0.1.83, clippy gives me a warning in the .uniffi.rs file, when running:
cargo clippy --workspace -- -D warnings
Warning:
error: empty lines after doc comment
--> /Users/<user>/Repositories/<project>/target/debug/build/<project-name>-60368a59711cf287/out/<project-name>.uniffi.rs:9:1
|
9 | / /// See `uniffi_bindgen::macro_metadata` for how this is used.
10 | |
11 | | // ditto for info about the UDL which spawned us.
12 | |
| |_
13 | const UNIFFI_META_CONST_UDL_<project-name>: ::uniffi::MetadataBuffer = ::uniffi::MetadataBuffer::from_code(::uniffi::metadata::codes::UDL_FILE)
| --------------------------------------------------------------- the comment documents this constant
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
= help: if the empty lines are unintentional remove them
help: if the doc comment should not document `UNIFFI_META_CONST_UDL_<project-name>` comment it out
|
8 ~ // /// Export info about the UDL while used to create us
9 ~ // /// See `uniffi_bindgen::macro_metadata` for how this is used.
|
error: could not compile `<project-name>` (lib) due to 1 previous error
Are you aware of a work-around for this, e.g. making clippy ignore the uniffi.rs file until the problem is fixed?
The text was updated successfully, but these errors were encountered:
After I upgraded to version 0.1.83,
clippy
gives me a warning in the.uniffi.rs
file, when running:Warning:
Are you aware of a work-around for this, e.g. making clippy ignore the
uniffi.rs
file until the problem is fixed?The text was updated successfully, but these errors were encountered: