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
//! Provides a noop.#![forbid(missing_docs)]/// Does nothingpubfnnoop(){}
in lib.rs.
I expected to see this happen: successful cargo test invocation.
Instead, this happened: cargo test errors:
$ cargo test
Compiling rust v0.0.0 (/tmp/noop)
error[E0453]: allow(missing_docs) incompatible with previous forbid
For more information about this error, try `rustc --explain E0453`.
error: could not compile `rust` (lib test) due to 1 previous error
Meta
This was triggered today in my daily testing pipeline using nightly. cargo check reports no issues.
saethlin
added
A-libtest
Area: `#[test]` / the `test` library
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Sep 12, 2024
I tried this code:
in
lib.rs
.I expected to see this happen: successful
cargo test
invocation.Instead, this happened:
cargo test
errors:Meta
This was triggered today in my daily testing pipeline using nightly.
cargo check
reports no issues.rustc --version --verbose
:The text was updated successfully, but these errors were encountered: