diff options
| author | bors <bors@rust-lang.org> | 2014-09-17 14:06:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-17 14:06:19 +0000 |
| commit | ad9ed40e7fec03158929ba3a2847870d54498d6d (patch) | |
| tree | c107bccf8e8644a5c913c19b2ab83f694cadd9cd /src/rustllvm/RustWrapper.cpp | |
| parent | aac078dca558bc85c1a46385a5fc99e008798757 (diff) | |
| parent | 0818955905bd508bff1af2546a39094fcc5eeb7b (diff) | |
| download | rust-ad9ed40e7fec03158929ba3a2847870d54498d6d.tar.gz rust-ad9ed40e7fec03158929ba3a2847870d54498d6d.zip | |
auto merge of #17264 : bkoropoff/rust/issue-17252, r=nick29581
Recursive items are currently detected in the `check_const` pass which runs after type checking. This means a recursive static item used as an array length will cause type checking to blow the stack. This PR separates the recursion check out into a separate pass which is run before type checking. Closes issue #17252 r? @nick29581
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
