Skip to content

Commit

Permalink
Apply yarn fix:prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann committed Jul 18, 2022
1 parent 81767dd commit a1a9531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/libs/error-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,12 @@ Please see the [documentation] for a full description.

## Troubleshooting

### Emacs [rust-mode](https://github.com/rust-lang/rust-mode) workaround.
### Emacs [rust-mode](https://github.com/rust-lang/rust-mode) workaround

Due to [rust-lang/rust-mode#452](https://github.com/rust-lang/rust-mode/issues/452), errors messages are improperly parsed. As a result, the error messages show incorrect highlighting but also yield an incorrect hyperlink.

The one workaround is to modify the regular expression used to format the string and create a hyperlink.

```emacs-lisp
(setq cargo-compilation-regexps
'("\\(?:at\\|',\\) \\(\\([^:\s]+\\):\\([0-9]+\\)\\)"
Expand Down

0 comments on commit a1a9531

Please sign in to comment.