Add tests for custom_code_classes_in_docs feature

This commit is contained in:
Guillaume Gomez 2023-04-25 15:04:46 +02:00
parent 5515fc88dc
commit f5561842e3
9 changed files with 268 additions and 27 deletions

View file

@ -0,0 +1,5 @@
/// ```{class=language-c}
/// int main(void) { return 0; }
/// ```
//~^^^ ERROR 1:1: 3:8: custom classes in code blocks are unstable [E0658]
pub struct Bar;