]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/check-attr.stderr
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / rustdoc-ui / check-attr.stderr
1 error: unknown attribute `compile-fail`. Did you mean `compile_fail`?
2   --> $DIR/check-attr.rs:3:1
3    |
4 LL | / /// foo
5 LL | |
6 LL | |
7 LL | |
8 ...  |
9 LL | | /// boo
10 LL | | /// ```
11    | |_______^
12    |
13    = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
14 note: the lint level is defined here
15   --> $DIR/check-attr.rs:1:9
16    |
17 LL | #![deny(rustdoc::invalid_codeblock_attributes)]
18    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19
20 error: unknown attribute `compilefail`. Did you mean `compile_fail`?
21   --> $DIR/check-attr.rs:3:1
22    |
23 LL | / /// foo
24 LL | |
25 LL | |
26 LL | |
27 ...  |
28 LL | | /// boo
29 LL | | /// ```
30    | |_______^
31    |
32    = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
33
34 error: unknown attribute `comPile_fail`. Did you mean `compile_fail`?
35   --> $DIR/check-attr.rs:3:1
36    |
37 LL | / /// foo
38 LL | |
39 LL | |
40 LL | |
41 ...  |
42 LL | | /// boo
43 LL | | /// ```
44    | |_______^
45    |
46    = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
47
48 error: unknown attribute `should-panic`. Did you mean `should_panic`?
49   --> $DIR/check-attr.rs:13:1
50    |
51 LL | / /// bar
52 LL | |
53 LL | |
54 LL | |
55 ...  |
56 LL | | /// boo
57 LL | | /// ```
58    | |_______^
59    |
60    = help: the code block will either not be tested if not marked as a rust one or won't fail if it doesn't panic when running
61
62 error: unknown attribute `shouldpanic`. Did you mean `should_panic`?
63   --> $DIR/check-attr.rs:13:1
64    |
65 LL | / /// bar
66 LL | |
67 LL | |
68 LL | |
69 ...  |
70 LL | | /// boo
71 LL | | /// ```
72    | |_______^
73    |
74    = help: the code block will either not be tested if not marked as a rust one or won't fail if it doesn't panic when running
75
76 error: unknown attribute `sHould_panic`. Did you mean `should_panic`?
77   --> $DIR/check-attr.rs:13:1
78    |
79 LL | / /// bar
80 LL | |
81 LL | |
82 LL | |
83 ...  |
84 LL | | /// boo
85 LL | | /// ```
86    | |_______^
87    |
88    = help: the code block will either not be tested if not marked as a rust one or won't fail if it doesn't panic when running
89
90 error: unknown attribute `no-run`. Did you mean `no_run`?
91   --> $DIR/check-attr.rs:23:1
92    |
93 LL | / /// foobar
94 LL | |
95 LL | |
96 LL | |
97 ...  |
98 LL | | /// boo
99 LL | | /// ```
100    | |_______^
101    |
102    = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want)
103
104 error: unknown attribute `norun`. Did you mean `no_run`?
105   --> $DIR/check-attr.rs:23:1
106    |
107 LL | / /// foobar
108 LL | |
109 LL | |
110 LL | |
111 ...  |
112 LL | | /// boo
113 LL | | /// ```
114    | |_______^
115    |
116    = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want)
117
118 error: unknown attribute `no_Run`. Did you mean `no_run`?
119   --> $DIR/check-attr.rs:23:1
120    |
121 LL | / /// foobar
122 LL | |
123 LL | |
124 LL | |
125 ...  |
126 LL | | /// boo
127 LL | | /// ```
128    | |_______^
129    |
130    = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want)
131
132 error: unknown attribute `test-harness`. Did you mean `test_harness`?
133   --> $DIR/check-attr.rs:33:1
134    |
135 LL | / /// b
136 LL | |
137 LL | |
138 LL | |
139 ...  |
140 LL | | /// boo
141 LL | | /// ```
142    | |_______^
143    |
144    = help: the code block will either not be tested if not marked as a rust one or the code will be wrapped inside a main function
145
146 error: unknown attribute `testharness`. Did you mean `test_harness`?
147   --> $DIR/check-attr.rs:33:1
148    |
149 LL | / /// b
150 LL | |
151 LL | |
152 LL | |
153 ...  |
154 LL | | /// boo
155 LL | | /// ```
156    | |_______^
157    |
158    = help: the code block will either not be tested if not marked as a rust one or the code will be wrapped inside a main function
159
160 error: unknown attribute `teSt_harness`. Did you mean `test_harness`?
161   --> $DIR/check-attr.rs:33:1
162    |
163 LL | / /// b
164 LL | |
165 LL | |
166 LL | |
167 ...  |
168 LL | | /// boo
169 LL | | /// ```
170    | |_______^
171    |
172    = help: the code block will either not be tested if not marked as a rust one or the code will be wrapped inside a main function
173
174 error: aborting due to 12 previous errors
175