Skip to content

Commit

Permalink
Silence doc errors for tests
Browse files Browse the repository at this point in the history
This seems to have been added in Rust 1.83 that was just released, and is only triggered by tarpaulin?

Signed-off-by: Natalie Klestrup Röijezon <[email protected]>
  • Loading branch information
nightkr committed Nov 28, 2024
1 parent 4cfb119 commit 583ac91
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions kube-derive/tests/crd_enum_test.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(missing_docs)]

use kube_derive::CustomResource;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
Expand Down
1 change: 1 addition & 0 deletions kube-derive/tests/crd_schema_test.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(missing_docs)]
#![recursion_limit = "256"]

use assert_json_diff::assert_json_eq;
Expand Down
2 changes: 2 additions & 0 deletions kube-derive/tests/resource.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(missing_docs)]

use k8s_openapi::{
api::core::v1::{ConfigMap, Secret},
ByteString,
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/tests/test_ui.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Runs UI tests using [`trybuild`].
#![allow(missing_docs)]

// Test that `kube-derive` outputs helpful error messages.
// If you make a change, remove `tests/ui/*.stderr` and run `cargo test`.
Expand Down

0 comments on commit 583ac91

Please sign in to comment.