Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests warning: unknown lint: rustdoc::missing_doc_code_examples #351

Open
Cube707 opened this issue Jun 28, 2023 · 0 comments
Open

Tests warning: unknown lint: rustdoc::missing_doc_code_examples #351

Cube707 opened this issue Jun 28, 2023 · 0 comments

Comments

@Cube707
Copy link
Contributor

Cube707 commented Jun 28, 2023

When running the test I get a warning (but all tests pass)

   Doc-tests os_info
warning: unknown lint: `rustdoc::missing_doc_code_examples`
  --> /home/jan/os_info/os_info/src/lib.rs:6:1
   |
6  | / #![deny(
7  | |     missing_debug_implementations,
8  | |     missing_docs,
9  | |     unsafe_code,
10 | |     missing_doc_code_examples
11 | | )]
   | |__^
   |
   = note: the `rustdoc::missing_doc_code_examples` lint is unstable
   = note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
   = note: `#[warn(unknown_lints)]` on by default

warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples`
  --> /home/jan/os_info/os_info/src/lib.rs:10:5
   |
10 |     missing_doc_code_examples
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples`
   |
   = note: `#[warn(renamed_and_removed_lints)]` on by default

warning: 2 warnings emitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant