File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11421142// incomplete; that's why it's guarded by the "nightly" feature.
11431143#![ cfg_attr( feature = "nightly" , allow( incomplete_features) ) ]
11441144
1145- #![ cfg_attr( feature = "nightly" , feature( doc_cfg) ) ]
11461145#![ cfg_attr( test, deny( warnings) ) ]
11471146#![ warn( missing_docs) ]
11481147
Original file line number Diff line number Diff line change 55//! its reexports via the [`mockall`](https://docs.rs/mockall/latest/mockall)
66//! crate.
77
8- #![ cfg_attr( feature = "nightly_derive" , feature( proc_macro_diagnostic) ) ]
8+ #![ cfg_attr( all ( feature = "nightly_derive" , not ( test ) ) , feature( proc_macro_diagnostic) ) ]
99#![ cfg_attr( test, deny( warnings) ) ]
1010// This lint is unhelpful. See
1111// https://github.com/rust-lang/rust-clippy/discussions/14256
Original file line number Diff line number Diff line change 77//! However, it is defined in its own crate so that the bulk of Mockall can
88//! remain a dev-dependency, instead of a regular dependency.
99
10- #![ cfg_attr( feature = "nightly" , feature( proc_macro_diagnostic) ) ]
10+ #![ cfg_attr( all ( feature = "nightly" , not ( test ) ) , feature( proc_macro_diagnostic) ) ]
1111#![ cfg_attr( test, deny( warnings) ) ]
1212extern crate proc_macro;
1313
You can’t perform that action at this time.
0 commit comments