2024-09-27 21:40:11 +02:00
error: unknown attribute `standalone`
2024-11-22 07:20:22 -08:00
--> $DIR/standalone-warning-2024.rs:11:1
2024-09-27 21:40:11 +02:00
|
2024-11-22 07:20:22 -08:00
11 | / //! ```standalone
12 | | //! bla
13 | | //! ```
14 | | //!
15 | | //! ```standalone-crate
16 | | //! bla
17 | | //! ```
2024-09-27 21:40:11 +02:00
| |_______^
|
2024-09-28 22:37:59 +02:00
= help: use `standalone_crate` to compile this code block separately
2024-09-28 01:32:09 +02:00
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
2024-09-27 21:40:11 +02:00
note: the lint level is defined here
2024-11-22 07:20:22 -08:00
--> $DIR/standalone-warning-2024.rs:9:9
2024-09-27 21:40:11 +02:00
|
2024-11-22 07:20:22 -08:00
9 | #![deny(warnings)]
2024-09-27 21:40:11 +02:00
| ^^^^^^^^
= note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(warnings)]`
2024-09-28 22:37:59 +02:00
error: unknown attribute `standalone-crate`
2024-11-22 07:20:22 -08:00
--> $DIR/standalone-warning-2024.rs:11:1
2024-09-27 21:40:11 +02:00
|
2024-11-22 07:20:22 -08:00
11 | / //! ```standalone
12 | | //! bla
13 | | //! ```
14 | | //!
15 | | //! ```standalone-crate
16 | | //! bla
17 | | //! ```
2024-09-27 21:40:11 +02:00
| |_______^
|
2024-09-28 22:37:59 +02:00
= help: use `standalone_crate` to compile this code block separately
2024-09-28 01:32:09 +02:00
= help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
2024-09-27 21:40:11 +02:00
error: aborting due to 2 previous errors