about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2014-06-04 16:59:27 -0400
committerAndrew Gallant <jamslam@gmail.com>2014-06-04 16:59:27 -0400
commit0f73bf32fe7d4e805f2bd16e3d6de66e90b3d3bf (patch)
tree106d770ce65b797188da2530140498826e16b4c3 /src/rustllvm/RustWrapper.cpp
parenta6401b52263336c22879d4ffae3eded97949ee7b (diff)
downloadrust-0f73bf32fe7d4e805f2bd16e3d6de66e90b3d3bf.tar.gz
rust-0f73bf32fe7d4e805f2bd16e3d6de66e90b3d3bf.zip
Fixes #14185.
This fix suppresses dead_code warnings from code generated by regex! when
the result of regex! is unused. Correct behavior should be a single
unused variable warning.

Regression tests are included for both `let` and `static` bound regex!
values.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions