1
Fork 0

Update tests for custom_code_classes_in_docs feature

This commit is contained in:
Guillaume Gomez 2023-09-17 14:53:30 +02:00
parent e1294b26af
commit c17abf124c
3 changed files with 14 additions and 7 deletions

View file

@ -1,5 +1,5 @@
error[E0658]: custom classes in code blocks are unstable
--> $DIR/feature-gate-custom_code_classes_in_docs.rs:1:1
warning: custom classes in code blocks will change behaviour
--> $DIR/feature-gate-custom_code_classes_in_docs.rs:3:1
|
LL | / /// ```{class=language-c}
LL | | /// int main(void) { return 0; }
@ -10,6 +10,5 @@ LL | | /// ```
= help: add `#![feature(custom_code_classes_in_docs)]` to the crate attributes to enable
= note: found these custom classes: class=language-c
error: aborting due to previous error
warning: 1 warning emitted
For more information about this error, try `rustc --explain E0658`.