Closed
Description
Given this code,
fn main()
{
fail!("This is why you fail.")
}
the failure message looks like this
task '<main>' failed at 'This is why you fail.', test.rs:3
This is problematic as the useful information (the message passed to fail!
)is buried inside the sentence. It'd be better if the failure message was on its own line, something akin to:
task '<main>' failed at test.rs:3, saying:
This is why you fail.
This format also allows for space to mention other useful information (e.g. issue #11704).
Metadata
Metadata
Assignees
Labels
No labels