fork/rust

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

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

master
4.4 KiB151 linesraw
1error: unknown attribute `compile-fail`. Did you mean `compile_fail`?
2 --> $DIR/check-attr-test.rs:5:1
3  |
45 | / /// foo
56 | | ///
67 | | /// ```compile-fail,compilefail,comPile_fail
78 | | /// boo
89 | | /// ```
9  | |_______^
10  |
11  = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
12note: the lint level is defined here
13 --> $DIR/check-attr-test.rs:3:9
14  |
153 | #![deny(rustdoc::invalid_codeblock_attributes)]
16  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17
18error: unknown attribute `compilefail`. Did you mean `compile_fail`?
19 --> $DIR/check-attr-test.rs:5:1
20  |
215 | / /// foo
226 | | ///
237 | | /// ```compile-fail,compilefail,comPile_fail
248 | | /// boo
259 | | /// ```
26  | |_______^
27  |
28  = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
29
30error: unknown attribute `comPile_fail`. Did you mean `compile_fail`?
31 --> $DIR/check-attr-test.rs:5:1
32  |
335 | / /// foo
346 | | ///
357 | | /// ```compile-fail,compilefail,comPile_fail
368 | | /// boo
379 | | /// ```
38  | |_______^
39  |
40  = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
41
42error: unknown attribute `should-panic`. Did you mean `should_panic`?
43  --> $DIR/check-attr-test.rs:12:1
44   |
4512 | / /// bar
4613 | | ///
4714 | | /// ```should-panic,shouldpanic,shOuld_panic
4815 | | /// boo
4916 | | /// ```
50   | |_______^
51   |
52   = 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
53
54error: unknown attribute `shouldpanic`. Did you mean `should_panic`?
55  --> $DIR/check-attr-test.rs:12:1
56   |
5712 | / /// bar
5813 | | ///
5914 | | /// ```should-panic,shouldpanic,shOuld_panic
6015 | | /// boo
6116 | | /// ```
62   | |_______^
63   |
64   = 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
65
66error: unknown attribute `shOuld_panic`. Did you mean `should_panic`?
67  --> $DIR/check-attr-test.rs:12:1
68   |
6912 | / /// bar
7013 | | ///
7114 | | /// ```should-panic,shouldpanic,shOuld_panic
7215 | | /// boo
7316 | | /// ```
74   | |_______^
75   |
76   = 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
77
78error: unknown attribute `no-run`. Did you mean `no_run`?
79  --> $DIR/check-attr-test.rs:19:1
80   |
8119 | / /// foobar
8220 | | ///
8321 | | /// ```no-run,norun,nO_run
8422 | | /// boo
8523 | | /// ```
86   | |_______^
87   |
88   = 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)
89
90error: unknown attribute `norun`. Did you mean `no_run`?
91  --> $DIR/check-attr-test.rs:19:1
92   |
9319 | / /// foobar
9420 | | ///
9521 | | /// ```no-run,norun,nO_run
9622 | | /// boo
9723 | | /// ```
98   | |_______^
99   |
100   = 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)
101
102error: unknown attribute `nO_run`. Did you mean `no_run`?
103  --> $DIR/check-attr-test.rs:19:1
104   |
10519 | / /// foobar
10620 | | ///
10721 | | /// ```no-run,norun,nO_run
10822 | | /// boo
10923 | | /// ```
110   | |_______^
111   |
112   = 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)
113
114error: unknown attribute `test-harness`. Did you mean `test_harness`?
115  --> $DIR/check-attr-test.rs:26:1
116   |
11726 | / /// b
11827 | | ///
11928 | | /// ```test-harness,testharness,tesT_harness
12029 | | /// boo
12130 | | /// ```
122   | |_______^
123   |
124   = 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
125
126error: unknown attribute `testharness`. Did you mean `test_harness`?
127  --> $DIR/check-attr-test.rs:26:1
128   |
12926 | / /// b
13027 | | ///
13128 | | /// ```test-harness,testharness,tesT_harness
13229 | | /// boo
13330 | | /// ```
134   | |_______^
135   |
136   = 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
137
138error: unknown attribute `tesT_harness`. Did you mean `test_harness`?
139  --> $DIR/check-attr-test.rs:26:1
140   |
14126 | / /// b
14227 | | ///
14328 | | /// ```test-harness,testharness,tesT_harness
14429 | | /// boo
14530 | | /// ```
146   | |_______^
147   |
148   = 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
149
150error: aborting due to 12 previous errors
151