about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2018-06-24 13:53:27 -0700
committerDylan MacKenzie <ecstaticmorse@gmail.com>2018-07-04 14:36:07 -0700
commitd36302da53d398e35d8eacc8cef1c43d1d95359c (patch)
tree5c064b106d3942cf3a5ac4bb2c70ea96c00a8edf /src/rustllvm/RustWrapper.cpp
parent10f217159b7ee7492fceb369aab179110affe2db (diff)
downloadrust-d36302da53d398e35d8eacc8cef1c43d1d95359c.tar.gz
rust-d36302da53d398e35d8eacc8cef1c43d1d95359c.zip
Add a UI test for #50637
This test relies on the fact that restrictions on expressions in `const
fn` do not apply when computing array lengths. It is more difficult to
statically analyze than the simple `loop{}` mentioned in #50637.

This test should be updated to ignore the warning after #49980 is resolved.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions