summaryrefslogtreecommitdiff
path: root/run_rust_emacs_tests_docker.sh
diff options
context:
space:
mode:
authorLucas Soriano del Pino <lucas_soriano@fastmail.com>2024-02-11 11:54:31 +1100
committerLucas Soriano del Pino <lucas_soriano@fastmail.com>2024-02-13 13:07:21 +1100
commit3948faec12f72b0b11fd573e3bcfe323de5b6d80 (patch)
tree9393ae1074271d93c396848348e68869fb1dbe55 /run_rust_emacs_tests_docker.sh
parent9c26dc1195ec05309ee15c014631fb9abd6cf5d2 (diff)
downloadrust-mode-3948faec12f72b0b11fd573e3bcfe323de5b6d80.tar.gz
Match panics in compilation-mode
If we encounter a panic when executing Rust code in `compilation-mode`, we now correctly highlight the location where the panic occurred. For example: ``` thread 'main' panicked at src/main.rs:2:5: explicit panic note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` Here, `src/main.rs:2:5` is highlighted. The developer is then able to execute `compile-goto-error` to jump to the correct spot in the code. Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com> Co-authored-by: zlef <zachlefevre@gmail.com>
Diffstat (limited to 'run_rust_emacs_tests_docker.sh')
0 files changed, 0 insertions, 0 deletions