Closed
Description
It would be great if when asserts failed they printed something more useful than the offending line. Currently they print something like:
Assertion 'x < y + bar() failed', src/foo.rs:561
It'd be way nicer if they printed the values of variables that they use and the results of the functions they call:
Assertion 'x{10} < y{2} + bar(){4} failed', src/foo.rs:561