summary refs log tree commit diff
path: root/src/test/compile-fail/const-fn-error.rs
AgeCommit message (Collapse)AuthorLines
2016-01-15move const block checks before lowering stepOliver Schneider-0/+29
this makes sure the checks run before typeck (which might use the constant or const function to calculate an array length) and gives prettier error messages in case of for loops and such (since they aren't expanded yet).