rust-playground icon indicating copy to clipboard operation
rust-playground copied to clipboard

Separate stderr and compiler output

Open tgross35 opened this issue 2 years ago • 0 comments

Program stderr kind of gets blended in with the compiler output:

image

The output "middle" is easy to miss since there's no visual separation from the compiler message. It would be nice to have a separate section "Compiler Output" to go with the existing "Standard Error" and "Standard Output" sections.

Making the output sections collapsible under the heading might be good as well, if having an extra separator would consume too much extra vertical space.

(snippet for example:)

fn main() {
    let x = 10u32; // trigger unused
    println!("start");
    eprintln!("middle");
    println!("end");
}

tgross35 avatar Feb 05 '23 04:02 tgross35