|
1 | 1 | error: unknown attribute `compile-fail`
|
2 |
| - --> $DIR/check-attr-test.rs:5:1 |
3 |
| - | |
4 |
| -5 | / /// foo |
5 |
| -6 | | /// |
6 |
| -7 | | /// ```compile-fail,compilefail,comPile_fail |
7 |
| -8 | | /// boo |
8 |
| -9 | | /// ``` |
9 |
| - | |_______^ |
10 |
| - | |
11 |
| - = help: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can |
12 |
| - = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` |
| 2 | + --> $DIR/check-attr-test.rs:8:1 |
| 3 | + | |
| 4 | +LL | / /// foo |
| 5 | +LL | | /// |
| 6 | +LL | | /// ```compile-fail,compilefail,comPile_fail |
| 7 | +LL | | /// boo |
| 8 | +LL | | /// ``` |
| 9 | + | |_______^ |
| 10 | + | |
| 11 | + = help: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can |
| 12 | + = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` |
13 | 13 | note: the lint level is defined here
|
14 |
| - --> $DIR/check-attr-test.rs:3:9 |
15 |
| - | |
16 |
| -3 | #![deny(rustdoc::invalid_codeblock_attributes)] |
17 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 14 | + --> $DIR/check-attr-test.rs:3:9 |
| 15 | + | |
| 16 | +LL | #![deny(rustdoc::invalid_codeblock_attributes)] |
| 17 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
18 | 18 |
|
19 | 19 | error: unknown attribute `compilefail`
|
20 |
| - --> $DIR/check-attr-test.rs:5:1 |
21 |
| - | |
22 |
| -5 | / /// foo |
23 |
| -6 | | /// |
24 |
| -7 | | /// ```compile-fail,compilefail,comPile_fail |
25 |
| -8 | | /// boo |
26 |
| -9 | | /// ``` |
27 |
| - | |_______^ |
28 |
| - | |
29 |
| - = help: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can |
30 |
| - = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` |
| 20 | + --> $DIR/check-attr-test.rs:8:1 |
| 21 | + | |
| 22 | +LL | / /// foo |
| 23 | +LL | | /// |
| 24 | +LL | | /// ```compile-fail,compilefail,comPile_fail |
| 25 | +LL | | /// boo |
| 26 | +LL | | /// ``` |
| 27 | + | |_______^ |
| 28 | + | |
| 29 | + = help: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can |
| 30 | + = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` |
31 | 31 |
|
32 | 32 | error: unknown attribute `comPile_fail`
|
33 |
| - --> $DIR/check-attr-test.rs:5:1 |
34 |
| - | |
35 |
| -5 | / /// foo |
36 |
| -6 | | /// |
37 |
| -7 | | /// ```compile-fail,compilefail,comPile_fail |
38 |
| -8 | | /// boo |
39 |
| -9 | | /// ``` |
40 |
| - | |_______^ |
41 |
| - | |
42 |
| - = help: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can |
43 |
| - = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` |
| 33 | + --> $DIR/check-attr-test.rs:8:1 |
| 34 | + | |
| 35 | +LL | / /// foo |
| 36 | +LL | | /// |
| 37 | +LL | | /// ```compile-fail,compilefail,comPile_fail |
| 38 | +LL | | /// boo |
| 39 | +LL | | /// ``` |
| 40 | + | |_______^ |
| 41 | + | |
| 42 | + = help: use `compile_fail` to invert the results of this test, so that it passes if it cannot be compiled and fails if it can |
| 43 | + = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` |
44 | 44 |
|
45 | 45 | error: unknown attribute `should-panic`
|
46 |
| - --> $DIR/check-attr-test.rs:12:1 |
| 46 | + --> $DIR/check-attr-test.rs:18:1 |
47 | 47 | |
|
48 |
| -12 | / /// bar |
49 |
| -13 | | /// |
50 |
| -14 | | /// ```should-panic,shouldpanic,shOuld_panic |
51 |
| -15 | | /// boo |
52 |
| -16 | | /// ``` |
| 48 | +LL | / /// bar |
| 49 | +LL | | /// |
| 50 | +LL | | /// ```should-panic,shouldpanic,shOuld_panic |
| 51 | +LL | | /// boo |
| 52 | +LL | | /// ``` |
53 | 53 | | |_______^
|
54 | 54 | |
|
55 | 55 | = help: use `should_panic` to invert the results of this test, so that if passes if it panics and fails if it does not
|
56 | 56 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
57 | 57 |
|
58 | 58 | error: unknown attribute `shouldpanic`
|
59 |
| - --> $DIR/check-attr-test.rs:12:1 |
| 59 | + --> $DIR/check-attr-test.rs:18:1 |
60 | 60 | |
|
61 |
| -12 | / /// bar |
62 |
| -13 | | /// |
63 |
| -14 | | /// ```should-panic,shouldpanic,shOuld_panic |
64 |
| -15 | | /// boo |
65 |
| -16 | | /// ``` |
| 61 | +LL | / /// bar |
| 62 | +LL | | /// |
| 63 | +LL | | /// ```should-panic,shouldpanic,shOuld_panic |
| 64 | +LL | | /// boo |
| 65 | +LL | | /// ``` |
66 | 66 | | |_______^
|
67 | 67 | |
|
68 | 68 | = help: use `should_panic` to invert the results of this test, so that if passes if it panics and fails if it does not
|
69 | 69 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
70 | 70 |
|
71 | 71 | error: unknown attribute `shOuld_panic`
|
72 |
| - --> $DIR/check-attr-test.rs:12:1 |
| 72 | + --> $DIR/check-attr-test.rs:18:1 |
73 | 73 | |
|
74 |
| -12 | / /// bar |
75 |
| -13 | | /// |
76 |
| -14 | | /// ```should-panic,shouldpanic,shOuld_panic |
77 |
| -15 | | /// boo |
78 |
| -16 | | /// ``` |
| 74 | +LL | / /// bar |
| 75 | +LL | | /// |
| 76 | +LL | | /// ```should-panic,shouldpanic,shOuld_panic |
| 77 | +LL | | /// boo |
| 78 | +LL | | /// ``` |
79 | 79 | | |_______^
|
80 | 80 | |
|
81 | 81 | = help: use `should_panic` to invert the results of this test, so that if passes if it panics and fails if it does not
|
82 | 82 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
83 | 83 |
|
84 | 84 | error: unknown attribute `no-run`
|
85 |
| - --> $DIR/check-attr-test.rs:19:1 |
| 85 | + --> $DIR/check-attr-test.rs:28:1 |
86 | 86 | |
|
87 |
| -19 | / /// foobar |
88 |
| -20 | | /// |
89 |
| -21 | | /// ```no-run,norun,nO_run |
90 |
| -22 | | /// boo |
91 |
| -23 | | /// ``` |
| 87 | +LL | / /// foobar |
| 88 | +LL | | /// |
| 89 | +LL | | /// ```no-run,norun,nO_run |
| 90 | +LL | | /// boo |
| 91 | +LL | | /// ``` |
92 | 92 | | |_______^
|
93 | 93 | |
|
94 | 94 | = help: use `no_run` to compile, but not run, the code sample during testing
|
95 | 95 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
96 | 96 |
|
97 | 97 | error: unknown attribute `norun`
|
98 |
| - --> $DIR/check-attr-test.rs:19:1 |
| 98 | + --> $DIR/check-attr-test.rs:28:1 |
99 | 99 | |
|
100 |
| -19 | / /// foobar |
101 |
| -20 | | /// |
102 |
| -21 | | /// ```no-run,norun,nO_run |
103 |
| -22 | | /// boo |
104 |
| -23 | | /// ``` |
| 100 | +LL | / /// foobar |
| 101 | +LL | | /// |
| 102 | +LL | | /// ```no-run,norun,nO_run |
| 103 | +LL | | /// boo |
| 104 | +LL | | /// ``` |
105 | 105 | | |_______^
|
106 | 106 | |
|
107 | 107 | = help: use `no_run` to compile, but not run, the code sample during testing
|
108 | 108 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
109 | 109 |
|
110 | 110 | error: unknown attribute `nO_run`
|
111 |
| - --> $DIR/check-attr-test.rs:19:1 |
| 111 | + --> $DIR/check-attr-test.rs:28:1 |
112 | 112 | |
|
113 |
| -19 | / /// foobar |
114 |
| -20 | | /// |
115 |
| -21 | | /// ```no-run,norun,nO_run |
116 |
| -22 | | /// boo |
117 |
| -23 | | /// ``` |
| 113 | +LL | / /// foobar |
| 114 | +LL | | /// |
| 115 | +LL | | /// ```no-run,norun,nO_run |
| 116 | +LL | | /// boo |
| 117 | +LL | | /// ``` |
118 | 118 | | |_______^
|
119 | 119 | |
|
120 | 120 | = help: use `no_run` to compile, but not run, the code sample during testing
|
121 | 121 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
122 | 122 |
|
123 | 123 | error: unknown attribute `test-harness`
|
124 |
| - --> $DIR/check-attr-test.rs:26:1 |
| 124 | + --> $DIR/check-attr-test.rs:38:1 |
125 | 125 | |
|
126 |
| -26 | / /// b |
127 |
| -27 | | /// |
128 |
| -28 | | /// ```test-harness,testharness,tesT_harness |
129 |
| -29 | | /// boo |
130 |
| -30 | | /// ``` |
| 126 | +LL | / /// b |
| 127 | +LL | | /// |
| 128 | +LL | | /// ```test-harness,testharness,tesT_harness |
| 129 | +LL | | /// boo |
| 130 | +LL | | /// ``` |
131 | 131 | | |_______^
|
132 | 132 | |
|
133 | 133 | = help: use `test_harness` to run functions marked `#[test]` instead of a potentially-implicit `main` function
|
134 | 134 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
135 | 135 |
|
136 | 136 | error: unknown attribute `testharness`
|
137 |
| - --> $DIR/check-attr-test.rs:26:1 |
| 137 | + --> $DIR/check-attr-test.rs:38:1 |
138 | 138 | |
|
139 |
| -26 | / /// b |
140 |
| -27 | | /// |
141 |
| -28 | | /// ```test-harness,testharness,tesT_harness |
142 |
| -29 | | /// boo |
143 |
| -30 | | /// ``` |
| 139 | +LL | / /// b |
| 140 | +LL | | /// |
| 141 | +LL | | /// ```test-harness,testharness,tesT_harness |
| 142 | +LL | | /// boo |
| 143 | +LL | | /// ``` |
144 | 144 | | |_______^
|
145 | 145 | |
|
146 | 146 | = help: use `test_harness` to run functions marked `#[test]` instead of a potentially-implicit `main` function
|
147 | 147 | = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
|
148 | 148 |
|
149 | 149 | error: unknown attribute `tesT_harness`
|
150 |
| - --> $DIR/check-attr-test.rs:26:1 |
| 150 | + --> $DIR/check-attr-test.rs:38:1 |
151 | 151 | |
|
152 |
| -26 | / /// b |
153 |
| -27 | | /// |
154 |
| -28 | | /// ```test-harness,testharness,tesT_harness |
155 |
| -29 | | /// boo |
156 |
| -30 | | /// ``` |
| 152 | +LL | / /// b |
| 153 | +LL | | /// |
| 154 | +LL | | /// ```test-harness,testharness,tesT_harness |
| 155 | +LL | | /// boo |
| 156 | +LL | | /// ``` |
157 | 157 | | |_______^
|
158 | 158 | |
|
159 | 159 | = help: use `test_harness` to run functions marked `#[test]` instead of a potentially-implicit `main` function
|
|
0 commit comments