about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-11-06 11:44:56 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-11-13 10:44:13 -0800
commit3a84efd0cc05ab2724b1f6a215dca089f863c310 (patch)
treefdabc93fa4ce273accc763ba3344d3d2c77c3198 /src/rustllvm/RustWrapper.cpp
parent33b62be8626b28f3c6fa0e6186ad114c452bc966 (diff)
downloadrust-3a84efd0cc05ab2724b1f6a215dca089f863c310.tar.gz
rust-3a84efd0cc05ab2724b1f6a215dca089f863c310.zip
Add HIR pass to check for `if`s and `loop`s in a `const`
These high-level constructs get mapped to control-flow primitives by the
time the MIR const-checker runs, making it hard to get the span for the
erroneous expression.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions