diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2019-11-05 09:50:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-05 09:50:00 +0100 |
| commit | 1ffa93e5f8229c34286f50d1d79dd410324a7d9d (patch) | |
| tree | 789b6d6c4f82556994df5f3655ca9db80e7500f0 /src/rustllvm/RustWrapper.cpp | |
| parent | dc40c9389a02fa0cff6ac15402c787e4b5ab260a (diff) | |
| parent | c8ae2819c5e8eeaa9a1f6435148f8d05fb5f8c56 (diff) | |
| download | rust-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
