Remove private_in_public lint #174
Annotations
3 errors and 9 warnings
needless `fn main` in doctest:
src/lib.rs#L28
error: needless `fn main` in doctest
--> src/lib.rs:28:5
|
28 | //! use elasticsearch_dsl::*;
| _____^
29 | | //!
30 | | //! fn main() {
31 | | //! let query = Search::new()
... |
56 | | //! ).rescore(Rescore::new(Query::term("field", 1)).query_weight(1.2));
57 | | //! }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
note: the lint level is defined here
--> src/lib.rs:98:5
|
98 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_doctest_main)]` implied by `#[deny(warnings)]`
|
CI Build (--all-features)
Clippy had exited with the 101 exit code
|
needless `fn main` in doctest:
src/lib.rs#L28
error: needless `fn main` in doctest
--> src/lib.rs:28:5
|
28 | //! use elasticsearch_dsl::*;
| _____^
29 | | //!
30 | | //! fn main() {
31 | | //! let query = Search::new()
... |
56 | | //! ).rescore(Rescore::new(Query::term("field", 1)).query_weight(1.2));
57 | | //! }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
note: the lint level is defined here
--> src/lib.rs:98:5
|
98 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_doctest_main)]` implied by `#[deny(warnings)]`
|
CI Build (--all-features)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
CI Build (--all-features)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build (--all-features)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build (--all-features)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build (--all-features)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build (--all-features)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build (--all-features)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build (--all-features)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI Build (--all-features)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|