summary refs log tree commit diff
path: root/src/test/ui/const-eval/infinite_loop.rs
AgeCommit message (Collapse)AuthorLines
2018-07-04Shorten error message and add link to testDylan MacKenzie-1/+1
Implements @bjorn3's suggestions.
2018-07-04Add a UI test for #50637Dylan MacKenzie-0/+25
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.