2023-05-02 20:01:28 +00:00
|
|
|
error: unexpected ` ` character after `.`
|
2023-04-25 13:04:46 +00:00
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:9:1
|
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
LL | / /// ```{. }
|
2023-04-25 13:04:46 +00: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 20:01:28 +00:00
|
|
|
error: unexpected ` ` character after `=`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:15:1
|
2023-04-25 13:04:46 +00:00
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
LL | / /// ```{class= a}
|
2023-04-25 13:04:46 +00:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
error: unexpected character `#`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:21:1
|
2023-04-25 13:04:46 +00:00
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
LL | / /// ```{#id}
|
2023-04-25 13:04:46 +00:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
error: unexpected character `{`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:27:1
|
2023-04-25 13:04:46 +00:00
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
LL | / /// ```{{
|
2023-04-25 13:04:46 +00:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
error: unexpected character `}`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:33:1
|
2023-04-25 13:04:46 +00:00
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
LL | / /// ```}
|
2023-04-25 13:04:46 +00:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
error: unexpected character `)`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:39:1
|
2023-04-25 13:04:46 +00:00
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
LL | / /// ```)
|
2023-04-25 13:04:46 +00:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 20:01:28 +00: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 | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
error: unexpected `.` character
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:63:1
|
|
|
|
|
|
|
|
|
LL | / /// ```{.one.two}
|
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
error: unexpected `.` character after `=`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:69:1
|
|
|
|
|
|
|
|
|
LL | / /// ```{class=.one}
|
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
error: unexpected `.` character
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:75:1
|
|
|
|
|
|
|
|
|
LL | / /// ```{class=one.two}
|
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
error: unexpected character `(`
|
|
|
|
--> $DIR/custom_code_classes_in_docs-warning.rs:81:1
|
2023-04-25 13:04:46 +00:00
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
LL | / /// ```{(comment)}
|
2023-04-25 13:04:46 +00:00
|
|
|
LL | | /// main;
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
2023-05-02 20:01:28 +00:00
|
|
|
error: aborting due to 13 previous errors
|
2023-04-25 13:04:46 +00:00
|
|
|
|