Skip to content

Commit 9a39994

Browse files
committed
add bash to error-messages
1 parent 5189c4f commit 9a39994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/book/src/procedural-macros.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ fn main() {
226226

227227
If we try to compile this though, the compiler will respond with an error:
228228

229-
```
229+
```bash
230230
error: The attribute `HelloWorldName` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
231231
```
232232
@@ -270,7 +270,7 @@ fn impl_hello_world(ast: &syn::MacroInput) -> quote::Tokens {
270270
271271
If a user now tries to derive `HelloWorld` from an enum they will be greeted with following, hopefully helpful, error:
272272
273-
```
273+
```bash
274274
error: custom derive attribute panicked
275275
--> src/main.rs
276276
|

0 commit comments

Comments
 (0)