about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-11-05 09:50:00 +0100
committerGitHub <noreply@github.com>2019-11-05 09:50:00 +0100
commit1ffa93e5f8229c34286f50d1d79dd410324a7d9d (patch)
tree789b6d6c4f82556994df5f3655ca9db80e7500f0 /src/rustllvm/RustWrapper.cpp
parentdc40c9389a02fa0cff6ac15402c787e4b5ab260a (diff)
parentc8ae2819c5e8eeaa9a1f6435148f8d05fb5f8c56 (diff)
downloadrust-1ffa93e5f8229c34286f50d1d79dd410324a7d9d.tar.gz
rust-1ffa93e5f8229c34286f50d1d79dd410324a7d9d.zip
Rollup merge of #66096 - ecstatic-morse:const-loop-test, r=Centril
Add a failing UI test for multiple loops of all kinds in a `const`

This simply demonstrates the current behavior and ensures we don't allow anything by accident.

The new const checker will be able to improve the diagnostics here. While working on it, I didn't see very many tests with non-`while` loops in a `const`, and there were no tests with multiple loops.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions