1- error: unknown attribute `compile-fail`. Did you mean `compile_fail`?
1+ error: unknown attribute `compile-fail`. There is an attribute with a similar name: `compile_fail`?
22 --> $DIR/check-attr.rs:3:1
33 |
44LL | / /// foo
@@ -17,7 +17,7 @@ note: the lint level is defined here
1717LL | #![deny(rustdoc::invalid_codeblock_attributes)]
1818 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919
20- error: unknown attribute `compilefail`. Did you mean `compile_fail`?
20+ error: unknown attribute `compilefail`. There is an attribute with a similar name: `compile_fail`?
2121 --> $DIR/check-attr.rs:3:1
2222 |
2323LL | / /// foo
@@ -31,7 +31,7 @@ LL | | /// ```
3131 |
3232 = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
3333
34- error: unknown attribute `comPile_fail`. Did you mean `compile_fail`?
34+ error: unknown attribute `comPile_fail`. There is an attribute with a similar name: `compile_fail`?
3535 --> $DIR/check-attr.rs:3:1
3636 |
3737LL | / /// foo
@@ -45,7 +45,7 @@ LL | | /// ```
4545 |
4646 = help: the code block will either not be tested if not marked as a rust one or won't fail if it compiles successfully
4747
48- error: unknown attribute `should-panic`. Did you mean `should_panic`?
48+ error: unknown attribute `should-panic`. There is an attribute with a similar name: `should_panic`?
4949 --> $DIR/check-attr.rs:13:1
5050 |
5151LL | / /// bar
@@ -59,7 +59,7 @@ LL | | /// ```
5959 |
6060 = 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
6161
62- error: unknown attribute `shouldpanic`. Did you mean `should_panic`?
62+ error: unknown attribute `shouldpanic`. There is an attribute with a similar name: `should_panic`?
6363 --> $DIR/check-attr.rs:13:1
6464 |
6565LL | / /// bar
@@ -73,7 +73,7 @@ LL | | /// ```
7373 |
7474 = 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
7575
76- error: unknown attribute `sHould_panic`. Did you mean `should_panic`?
76+ error: unknown attribute `sHould_panic`. There is an attribute with a similar name: `should_panic`?
7777 --> $DIR/check-attr.rs:13:1
7878 |
7979LL | / /// bar
@@ -87,7 +87,7 @@ LL | | /// ```
8787 |
8888 = 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
8989
90- error: unknown attribute `no-run`. Did you mean `no_run`?
90+ error: unknown attribute `no-run`. There is an attribute with a similar name: `no_run`?
9191 --> $DIR/check-attr.rs:23:1
9292 |
9393LL | / /// foobar
@@ -101,7 +101,7 @@ LL | | /// ```
101101 |
102102 = 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)
103103
104- error: unknown attribute `norun`. Did you mean `no_run`?
104+ error: unknown attribute `norun`. There is an attribute with a similar name: `no_run`?
105105 --> $DIR/check-attr.rs:23:1
106106 |
107107LL | / /// foobar
@@ -115,7 +115,7 @@ LL | | /// ```
115115 |
116116 = 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)
117117
118- error: unknown attribute `no_Run`. Did you mean `no_run`?
118+ error: unknown attribute `no_Run`. There is an attribute with a similar name: `no_run`?
119119 --> $DIR/check-attr.rs:23:1
120120 |
121121LL | / /// foobar
@@ -129,7 +129,7 @@ LL | | /// ```
129129 |
130130 = 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)
131131
132- error: unknown attribute `test-harness`. Did you mean `test_harness`?
132+ error: unknown attribute `test-harness`. There is an attribute with a similar name: `test_harness`?
133133 --> $DIR/check-attr.rs:33:1
134134 |
135135LL | / /// b
@@ -143,7 +143,7 @@ LL | | /// ```
143143 |
144144 = 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
145145
146- error: unknown attribute `testharness`. Did you mean `test_harness`?
146+ error: unknown attribute `testharness`. There is an attribute with a similar name: `test_harness`?
147147 --> $DIR/check-attr.rs:33:1
148148 |
149149LL | / /// b
@@ -157,7 +157,7 @@ LL | | /// ```
157157 |
158158 = 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
159159
160- error: unknown attribute `teSt_harness`. Did you mean `test_harness`?
160+ error: unknown attribute `teSt_harness`. There is an attribute with a similar name: `test_harness`?
161161 --> $DIR/check-attr.rs:33:1
162162 |
163163LL | / /// b
@@ -171,7 +171,7 @@ LL | | /// ```
171171 |
172172 = 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
173173
174- error: unknown attribute `rust2018`. Did you mean `edition2018`?
174+ error: unknown attribute `rust2018`. There is an attribute with a similar name: `edition2018`?
175175 --> $DIR/check-attr.rs:43:1
176176 |
177177LL | / /// b
0 commit comments