add bash to error-messages

This commit is contained in:
Jakob Demler 2017-02-15 15:31:52 +01:00
parent 5189c4f8c1
commit 9a39994ee3

View file

@ -226,7 +226,7 @@ fn main() {
If we try to compile this though, the compiler will respond with an error:
```
```bash
error: The attribute `HelloWorldName` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
```
@ -270,7 +270,7 @@ fn impl_hello_world(ast: &syn::MacroInput) -> quote::Tokens {
If a user now tries to derive `HelloWorld` from an enum they will be greeted with following, hopefully helpful, error:
```
```bash
error: custom derive attribute panicked
--> src/main.rs
|