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
|
2025-10-03 11:27:57 +02:00
LL | / //! ```standalone
2025-10-03 11:57:04 +02:00
LL | |
LL | |
2025-10-03 11:27:57 +02:00
LL | | //! bla
2025-10-03 11:57:04 +02:00
... |
2025-10-03 11:27:57 +02:00
LL | | //! bla
LL | | //! ```
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
|
2025-10-03 11:27:57 +02:00
LL | #![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
|
2025-10-03 11:27:57 +02:00
LL | / //! ```standalone
2025-10-03 11:57:04 +02:00
LL | |
LL | |
2025-10-03 11:27:57 +02:00
LL | | //! bla
2025-10-03 11:57:04 +02:00
... |
2025-10-03 11:27:57 +02:00
LL | | //! bla
LL | | //! ```
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