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
{{ message }}
Repository navigation
cargo test breaking with forbid(missing_docs) #130218
//! 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.
Activity
Use `doc(hidden)` instead of `allow(missing_docs)` in the test harness
Use `doc(hidden)` instead of `allow(missing_docs)` in the test harness