1 error: missing documentation for a function
2 --> $DIR/check-fail.rs:12:1
7 note: the lint level is defined here
8 --> $DIR/check-fail.rs:4:9
10 LL | #![deny(missing_docs)]
13 error: missing code example in this documentation
14 --> $DIR/check-fail.rs:12:1
19 note: the lint level is defined here
20 --> $DIR/check-fail.rs:5:9
22 LL | #![deny(rustdoc::all)]
24 = note: `#[deny(rustdoc::missing_doc_code_examples)]` implied by `#[deny(rustdoc::all)]`
26 error: unknown attribute `testharness`. Did you mean `test_harness`?
27 --> $DIR/check-fail.rs:7:1
29 LL | / //! ```rust,testharness
31 LL | | //! let x = 12;
35 = help: the code block will either not be tested if not marked as a rust one or the code will be wrapped inside a main function
36 = note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(rustdoc::all)]`
38 error: unknown attribute `testharness`. Did you mean `test_harness`?
39 --> $DIR/check-fail.rs:16:1
44 LL | | /// ```rust,testharness
45 LL | | /// let x = 12;
49 = help: the code block will either not be tested if not marked as a rust one or the code will be wrapped inside a main function
51 error: aborting due to 4 previous errors