]> git.lizzy.rs Git - rust.git/commit
debuginfo: Add `debuginfo::with_source_location_override()` function...
authorMichael Woerister <michaelwoerister@posteo>
Thu, 5 Mar 2015 14:00:25 +0000 (15:00 +0100)
committerMichael Woerister <michaelwoerister@posteo>
Thu, 5 Mar 2015 14:00:25 +0000 (15:00 +0100)
commite316c662f8ac029704922baa53a0831da031aea5
tree93d7709b30b0beb8f29fc72647d6782e7115d96c
parentfed12499e7d91f9cdfba5833e34d20e8fd19b898
debuginfo: Add `debuginfo::with_source_location_override()` function...

... and use it to fix a debug-location issue with constants.
src/librustc_trans/trans/consts.rs
src/librustc_trans/trans/debuginfo.rs
src/librustc_trans/trans/expr.rs
src/test/debuginfo/constant-debug-locs.rs [new file with mode: 0644]