summary refs log tree commit diff
path: root/src/test/ui/const-eval/infinite_loop.stderr
AgeCommit message (Collapse)AuthorLines
2018-07-04Shorten error message and add link to testDylan MacKenzie-3/+3
Implements @bjorn3's suggestions.
2018-07-04Explain reason behind error spanDylan MacKenzie-1/+1
We can't expand the span of the error reliably according to @oli-obk, so just mention why it points to this particular expression.
2018-07-04Add a UI test for #50637Dylan MacKenzie-0/+41
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.