about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrian Koropoff <bkoropoff@gmail.com>2014-09-14 17:21:25 -0700
committerBrian Koropoff <bkoropoff@gmail.com>2014-09-14 20:56:07 -0700
commit83b7cb7ceb75d9fb4897d2f944baa09d63a34f31 (patch)
tree039fa224e20784e328e8b6a1a5e4948acef45260 /src/rustllvm/RustWrapper.cpp
parent21d1f4d7c0e637d8ae073798e666b880d31781b1 (diff)
downloadrust-83b7cb7ceb75d9fb4897d2f944baa09d63a34f31.tar.gz
rust-83b7cb7ceb75d9fb4897d2f944baa09d63a34f31.zip
Separate static item recursion check into its own pass
This new pass is run before type checking so that recursive items
are detected beforehand.  This prevents going into an infinite
recursion during type checking when a recursive item is used in
an array type.

As a bonus, use `span_err` instead of `span_fatal` so multiple
errors can be reported.

Closes issue #17252
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions