Update tests for custom_code_classes_in_docs
feature
This commit is contained in:
parent
e1294b26af
commit
c17abf124c
3 changed files with 14 additions and 7 deletions
|
@ -1,5 +1,10 @@
|
|||
// check-pass
|
||||
|
||||
/// ```{class=language-c}
|
||||
/// int main(void) { return 0; }
|
||||
/// ```
|
||||
//~^^^ ERROR 1:1: 3:8: custom classes in code blocks are unstable [E0658]
|
||||
//~^^^ 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
|
||||
pub struct Bar;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue