about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-10 04:01:21 +0000
committerbors <bors@rust-lang.org>2017-08-10 04:01:21 +0000
commit16268a88fc0cfe3657439139c63913ffb904b2fa (patch)
tree099c37cc8ee530f9623fe5cc79a6d8a264ab9a41 /src/rustllvm/RustWrapper.cpp
parent57e720d2cd09b6befc5b6eed66b65352fc9ff537 (diff)
parent5cf9f6330a02a0e86f08223289c74b36fba784db (diff)
downloadrust-16268a88fc0cfe3657439139c63913ffb904b2fa.tar.gz
rust-16268a88fc0cfe3657439139c63913ffb904b2fa.zip
Auto merge of #43735 - est31:master, r=alexcrichton
Avoid calling the column!() macro in panic

Closes #43057

This "fix" adds a new macro called `__rust_unstable_column` and to use it instead of the `column` macro inside panic. The new macro can be shadowed as well as `column` can, but its very likely that there is no code that does this in practice.

There is no real way to make "unstable" macros that are usable by stable macros, so we do the next best thing and prefix the macro with `__rust_unstable` to make sure people recognize it is unstable.

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions