]>
Commit | Line | Data |
---|---|---|
6a06907d | 1 | #![deny(rustdoc::invalid_codeblock_attributes)] |
f9f354fc XL |
2 | |
3 | /// foo | |
4 | //~^ ERROR | |
5 | //~^^ ERROR | |
6 | //~^^^ ERROR | |
7 | /// | |
8 | /// ```compile-fail,compilefail,comPile_fail | |
9 | /// boo | |
10 | /// ``` | |
11 | pub fn foo() {} | |
12 | ||
13 | /// bar | |
14 | //~^ ERROR | |
15 | //~^^ ERROR | |
16 | //~^^^ ERROR | |
17 | /// | |
18 | /// ```should-panic,shouldpanic,sHould_panic | |
19 | /// boo | |
20 | /// ``` | |
21 | pub fn bar() {} | |
22 | ||
23 | /// foobar | |
24 | //~^ ERROR | |
25 | //~^^ ERROR | |
26 | //~^^^ ERROR | |
27 | /// | |
28 | /// ```no-run,norun,no_Run | |
29 | /// boo | |
30 | /// ``` | |
31 | pub fn foobar() {} | |
32 | ||
33 | /// barfoo | |
34 | //~^ ERROR | |
35 | //~^^ ERROR | |
36 | //~^^^ ERROR | |
37 | /// | |
38 | /// ```allow-fail,allowfail,alLow_fail | |
39 | /// boo | |
40 | /// ``` | |
41 | pub fn barfoo() {} | |
42 | ||
43 | /// b | |
44 | //~^ ERROR | |
45 | //~^^ ERROR | |
46 | //~^^^ ERROR | |
47 | /// | |
48 | /// ```test-harness,testharness,teSt_harness | |
49 | /// boo | |
50 | /// ``` | |
51 | pub fn b() {} |