fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
4.0 KiB175 linesraw
1error: unknown attribute `compile-fail`. Did you mean `compile_fail`?
2  --> $DIR/check-attr.rs:3:1
3   |
4LL | / /// foo
5LL | |
6LL | |
7LL | |
8...  |
9LL | | /// boo
10LL | | /// ```
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
14note: the lint level is defined here
15  --> $DIR/check-attr.rs:1:9
16   |
17LL | #![deny(rustdoc::invalid_codeblock_attributes)]
18   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19
20error: unknown attribute `compilefail`. Did you mean `compile_fail`?
21  --> $DIR/check-attr.rs:3:1
22   |
23LL | / /// foo
24LL | |
25LL | |
26LL | |
27...  |
28LL | | /// boo
29LL | | /// ```
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
34error: unknown attribute `comPile_fail`. Did you mean `compile_fail`?
35  --> $DIR/check-attr.rs:3:1
36   |
37LL | / /// foo
38LL | |
39LL | |
40LL | |
41...  |
42LL | | /// boo
43LL | | /// ```
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
48error: unknown attribute `should-panic`. Did you mean `should_panic`?
49  --> $DIR/check-attr.rs:13:1
50   |
51LL | / /// bar
52LL | |
53LL | |
54LL | |
55...  |
56LL | | /// boo
57LL | | /// ```
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
62error: unknown attribute `shouldpanic`. Did you mean `should_panic`?
63  --> $DIR/check-attr.rs:13:1
64   |
65LL | / /// bar
66LL | |
67LL | |
68LL | |
69...  |
70LL | | /// boo
71LL | | /// ```
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
76error: unknown attribute `sHould_panic`. Did you mean `should_panic`?
77  --> $DIR/check-attr.rs:13:1
78   |
79LL | / /// bar
80LL | |
81LL | |
82LL | |
83...  |
84LL | | /// boo
85LL | | /// ```
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
90error: unknown attribute `no-run`. Did you mean `no_run`?
91  --> $DIR/check-attr.rs:23:1
92   |
93LL | / /// foobar
94LL | |
95LL | |
96LL | |
97...  |
98LL | | /// boo
99LL | | /// ```
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
104error: unknown attribute `norun`. Did you mean `no_run`?
105  --> $DIR/check-attr.rs:23:1
106   |
107LL | / /// foobar
108LL | |
109LL | |
110LL | |
111...  |
112LL | | /// boo
113LL | | /// ```
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
118error: unknown attribute `no_Run`. Did you mean `no_run`?
119  --> $DIR/check-attr.rs:23:1
120   |
121LL | / /// foobar
122LL | |
123LL | |
124LL | |
125...  |
126LL | | /// boo
127LL | | /// ```
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
132error: unknown attribute `test-harness`. Did you mean `test_harness`?
133  --> $DIR/check-attr.rs:33:1
134   |
135LL | / /// b
136LL | |
137LL | |
138LL | |
139...  |
140LL | | /// boo
141LL | | /// ```
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
146error: unknown attribute `testharness`. Did you mean `test_harness`?
147  --> $DIR/check-attr.rs:33:1
148   |
149LL | / /// b
150LL | |
151LL | |
152LL | |
153...  |
154LL | | /// boo
155LL | | /// ```
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
160error: unknown attribute `teSt_harness`. Did you mean `test_harness`?
161  --> $DIR/check-attr.rs:33:1
162   |
163LL | / /// b
164LL | |
165LL | |
166LL | |
167...  |
168LL | | /// boo
169LL | | /// ```
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
174error: aborting due to 12 previous errors
175