Add new rustdoc-ui test for custom_code_classes_in_docs
feature
This commit is contained in:
parent
6f47a858f2
commit
494fdcd8ec
2 changed files with 20 additions and 1 deletions
|
@ -8,3 +8,11 @@
|
|||
//~| 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
|
||||
pub struct Bar;
|
||||
|
||||
/// ```ASN.1
|
||||
/// int main(void) { return 0; }
|
||||
/// ```
|
||||
//~^^^ WARNING custom classes in code blocks will change behaviour
|
||||
//~| 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
|
||||
pub struct Bar2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue