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`?
2
2
--> $DIR/check-attr.rs:3:1
3
3
|
4
4
LL | / /// foo
@@ -17,7 +17,7 @@ note: the lint level is defined here
17
17
LL | #![deny(rustdoc::invalid_codeblock_attributes)]
18
18
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19
19
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`?
21
21
--> $DIR/check-attr.rs:3:1
22
22
|
23
23
LL | / /// foo
@@ -31,7 +31,7 @@ LL | | /// ```
31
31
|
32
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
33
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`?
35
35
--> $DIR/check-attr.rs:3:1
36
36
|
37
37
LL | / /// foo
@@ -45,7 +45,7 @@ LL | | /// ```
45
45
|
46
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
47
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`?
49
49
--> $DIR/check-attr.rs:13:1
50
50
|
51
51
LL | / /// bar
@@ -59,7 +59,7 @@ LL | | /// ```
59
59
|
60
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
61
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`?
63
63
--> $DIR/check-attr.rs:13:1
64
64
|
65
65
LL | / /// bar
@@ -73,7 +73,7 @@ LL | | /// ```
73
73
|
74
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
75
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`?
77
77
--> $DIR/check-attr.rs:13:1
78
78
|
79
79
LL | / /// bar
@@ -87,7 +87,7 @@ LL | | /// ```
87
87
|
88
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
89
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`?
91
91
--> $DIR/check-attr.rs:23:1
92
92
|
93
93
LL | / /// foobar
@@ -101,7 +101,7 @@ LL | | /// ```
101
101
|
102
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
103
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`?
105
105
--> $DIR/check-attr.rs:23:1
106
106
|
107
107
LL | / /// foobar
@@ -115,7 +115,7 @@ LL | | /// ```
115
115
|
116
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
117
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`?
119
119
--> $DIR/check-attr.rs:23:1
120
120
|
121
121
LL | / /// foobar
@@ -129,7 +129,7 @@ LL | | /// ```
129
129
|
130
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
131
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`?
133
133
--> $DIR/check-attr.rs:33:1
134
134
|
135
135
LL | / /// b
@@ -143,7 +143,7 @@ LL | | /// ```
143
143
|
144
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
145
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`?
147
147
--> $DIR/check-attr.rs:33:1
148
148
|
149
149
LL | / /// b
@@ -157,7 +157,7 @@ LL | | /// ```
157
157
|
158
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
159
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`?
161
161
--> $DIR/check-attr.rs:33:1
162
162
|
163
163
LL | / /// b
@@ -171,7 +171,7 @@ LL | | /// ```
171
171
|
172
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
173
174
- error: unknown attribute `rust2018`. Did you mean `edition2018`?
174
+ error: unknown attribute `rust2018`. There is an attribute with a similar name: `edition2018`?
175
175
--> $DIR/check-attr.rs:43:1
176
176
|
177
177
LL | / /// b
0 commit comments