json5format icon indicating copy to clipboard operation
json5format copied to clipboard

cargo test now fails with changes made in rust 1.83

Open djacu opened this issue 1 year ago • 0 comments

Running cargo test emits a new failure that was not present until Rust 1.83. I believe this is due to changes in how missing_docs is handled. https://releases.rs/docs/1.83.0/

error: missing documentation for the crate
    --> tests/lib.rs:5:1
     |
5    | / #![deny(missing_docs)]
6    | | use {
7    | |     crate::{test_error, Json5Format},
8    | |     json5format::*,
...    |
1908 | |     })
1909 | | }
     | |_^
     |
note: the lint level is defined here
    --> tests/lib.rs:5:9
     |
5    | #![deny(missing_docs)]
     |         ^^^^^^^^^^^^

error: could not compile `json5format` (test "lib") due to 1 previous error

djacu avatar Jan 02 '25 04:01 djacu