]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/check-attr-test.stderr
Rollup merge of #106798 - scottmcm:signum-via-cmp, r=Mark-Simulacrum
[rust.git] / tests / rustdoc-ui / check-attr-test.stderr
1 error: unknown attribute `compile-fail`. Did you mean `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: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
12 note: the lint level is defined here
13  --> $DIR/check-attr-test.rs:3:9
14   |
15 3 | #![deny(rustdoc::invalid_codeblock_attributes)]
16   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17
18 error: unknown attribute `compilefail`. Did you mean `compile_fail`?
19  --> $DIR/check-attr-test.rs:5:1
20   |
21 5 | / /// foo
22 6 | | ///
23 7 | | /// ```compile-fail,compilefail,comPile_fail
24 8 | | /// boo
25 9 | | /// ```
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
30 error: unknown attribute `comPile_fail`. Did you mean `compile_fail`?
31  --> $DIR/check-attr-test.rs:5:1
32   |
33 5 | / /// foo
34 6 | | ///
35 7 | | /// ```compile-fail,compilefail,comPile_fail
36 8 | | /// boo
37 9 | | /// ```
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
42 error: unknown attribute `should-panic`. Did you mean `should_panic`?
43   --> $DIR/check-attr-test.rs:12:1
44    |
45 12 | / /// bar
46 13 | | ///
47 14 | | /// ```should-panic,shouldpanic,shOuld_panic
48 15 | | /// boo
49 16 | | /// ```
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
54 error: unknown attribute `shouldpanic`. Did you mean `should_panic`?
55   --> $DIR/check-attr-test.rs:12:1
56    |
57 12 | / /// bar
58 13 | | ///
59 14 | | /// ```should-panic,shouldpanic,shOuld_panic
60 15 | | /// boo
61 16 | | /// ```
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
66 error: unknown attribute `shOuld_panic`. Did you mean `should_panic`?
67   --> $DIR/check-attr-test.rs:12:1
68    |
69 12 | / /// bar
70 13 | | ///
71 14 | | /// ```should-panic,shouldpanic,shOuld_panic
72 15 | | /// boo
73 16 | | /// ```
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
78 error: unknown attribute `no-run`. Did you mean `no_run`?
79   --> $DIR/check-attr-test.rs:19:1
80    |
81 19 | / /// foobar
82 20 | | ///
83 21 | | /// ```no-run,norun,nO_run
84 22 | | /// boo
85 23 | | /// ```
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
90 error: unknown attribute `norun`. Did you mean `no_run`?
91   --> $DIR/check-attr-test.rs:19:1
92    |
93 19 | / /// foobar
94 20 | | ///
95 21 | | /// ```no-run,norun,nO_run
96 22 | | /// boo
97 23 | | /// ```
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
102 error: unknown attribute `nO_run`. Did you mean `no_run`?
103   --> $DIR/check-attr-test.rs:19:1
104    |
105 19 | / /// foobar
106 20 | | ///
107 21 | | /// ```no-run,norun,nO_run
108 22 | | /// boo
109 23 | | /// ```
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
114 error: unknown attribute `test-harness`. Did you mean `test_harness`?
115   --> $DIR/check-attr-test.rs:26:1
116    |
117 26 | / /// b
118 27 | | ///
119 28 | | /// ```test-harness,testharness,tesT_harness
120 29 | | /// boo
121 30 | | /// ```
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
126 error: unknown attribute `testharness`. Did you mean `test_harness`?
127   --> $DIR/check-attr-test.rs:26:1
128    |
129 26 | / /// b
130 27 | | ///
131 28 | | /// ```test-harness,testharness,tesT_harness
132 29 | | /// boo
133 30 | | /// ```
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
138 error: unknown attribute `tesT_harness`. Did you mean `test_harness`?
139   --> $DIR/check-attr-test.rs:26:1
140    |
141 26 | / /// b
142 27 | | ///
143 28 | | /// ```test-harness,testharness,tesT_harness
144 29 | | /// boo
145 30 | | /// ```
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
150 error: aborting due to 12 previous errors
151