rust-playground
rust-playground copied to clipboard
Highlight errors in stdout under Test mode
While playing with doctest on playground, I just noticed the errors are not highlighted under test mode. Thus, I wonder it might be helpful to highlight errors if users are running tests.
| Before | After |
|---|---|
![]() |
![]() |
On the other hand, based on the impl in this PR, it will only highlight errors if users are using Test primary action so it will not highlight stdout under Run or Build modes (like following picture):


