From a1a953150c199aa9a28d5bdf14f4994449e371a9 Mon Sep 17 00:00:00 2001 From: Tim Diekmann Date: Mon, 18 Jul 2022 10:19:08 +0200 Subject: [PATCH] Apply `yarn fix:prettier` --- packages/libs/error-stack/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/libs/error-stack/README.md b/packages/libs/error-stack/README.md index 413f821c192..1c3e5c08ddf 100644 --- a/packages/libs/error-stack/README.md +++ b/packages/libs/error-stack/README.md @@ -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]+\\)\\)"