2023-09-17 07:53:30 -05:00
|
|
|
// check-pass
|
|
|
|
|
2023-04-25 08:04:46 -05:00
|
|
|
/// ```{class=language-c}
|
|
|
|
/// int main(void) { return 0; }
|
|
|
|
/// ```
|
2023-09-17 07:53:30 -05:00
|
|
|
//~^^^ WARNING custom classes in code blocks will change behaviour
|
|
|
|
//~| NOTE found these custom classes: class=language-c
|
|
|
|
//~| NOTE see issue #79483 <https://github.com/rust-lang/rust/issues/79483>
|
|
|
|
//~| HELP add `#![feature(custom_code_classes_in_docs)]` to the crate attributes to enable
|
2023-04-25 08:04:46 -05:00
|
|
|
pub struct Bar;
|
2023-09-18 15:11:03 -05:00
|
|
|
|
|
|
|
/// ```ASN.1
|
|
|
|
/// int main(void) { return 0; }
|
|
|
|
/// ```
|
|
|
|
pub struct Bar2;
|