]>
Commit | Line | Data |
---|---|---|
f9f354fc XL |
1 | // compile-flags:--test |
2 | ||
6a06907d | 3 | #![deny(rustdoc::invalid_codeblock_attributes)] |
f9f354fc XL |
4 | |
5 | /// foo | |
6 | /// | |
7 | /// ```compile-fail,compilefail,comPile_fail | |
8 | /// boo | |
9 | /// ``` | |
10 | pub fn foo() {} | |
11 | ||
12 | /// bar | |
13 | /// | |
14 | /// ```should-panic,shouldpanic,shOuld_panic | |
15 | /// boo | |
16 | /// ``` | |
17 | pub fn bar() {} | |
18 | ||
19 | /// foobar | |
20 | /// | |
21 | /// ```no-run,norun,nO_run | |
22 | /// boo | |
23 | /// ``` | |
24 | pub fn foobar() {} | |
25 | ||
f9f354fc XL |
26 | /// b |
27 | /// | |
28 | /// ```test-harness,testharness,tesT_harness | |
29 | /// boo | |
30 | /// ``` | |
31 | pub fn b() {} |