2023-05-02 15:01:28 -05:00
|
|
|
error: unexpected ` ` character after `.`
|
2023-04-25 08:04:46 -05:00
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:9:1
|
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | / /// ```{. }
|
2023-04-25 08:04:46 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:5:9
|
|
|
|
|
|
|
|
|
LL | #![deny(warnings)]
|
|
|
|
| ^^^^^^^^
|
|
|
|
= note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(warnings)]`
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
error: unexpected ` ` character after `=`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:15:1
|
2023-04-25 08:04:46 -05:00
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | / /// ```{class= a}
|
2023-04-25 08:04:46 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
error: unexpected character `#`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:21:1
|
2023-04-25 08:04:46 -05:00
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | / /// ```{#id}
|
2023-04-25 08:04:46 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
error: unexpected character `{`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:27:1
|
2023-04-25 08:04:46 -05:00
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | / /// ```{{
|
2023-04-25 08:04:46 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
error: unexpected character `}`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:33:1
|
2023-04-25 08:04:46 -05:00
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | / /// ```}
|
2023-04-25 08:04:46 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
error: unexpected character `)`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:39:1
|
2023-04-25 08:04:46 -05:00
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | / /// ```)
|
2023-04-25 08:04:46 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
error: unexpected `}` character after `=`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:45:1
|
|
|
|
|
|
|
|
|
LL | / /// ```{class=}
|
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
error: unclosed comment: missing `)` at the end
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:51:1
|
|
|
|
|
|
|
|
|
LL | / /// ```(
|
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
error: unexpected `=` character
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:57:1
|
|
|
|
|
|
|
|
|
LL | / /// ```{class=one=two}
|
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-09-19 10:29:39 -05:00
|
|
|
error: unexpected `(` character after `=`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:68:1
|
2023-05-02 15:01:28 -05:00
|
|
|
|
|
2023-09-19 10:29:39 -05:00
|
|
|
LL | / /// ```{class=(one}
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
error: unexpected character `(`
|
2023-09-19 10:29:39 -05:00
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:79:1
|
2023-04-25 08:04:46 -05:00
|
|
|
|
|
2023-05-02 15:01:28 -05:00
|
|
|
LL | / /// ```{(comment)}
|
2023-04-25 08:04:46 -05:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-09-19 10:29:39 -05:00
|
|
|
error: aborting due to 11 previous errors
|
2023-04-25 08:04:46 -05:00
|
|
|
|