diff options
| author | Sean Bowe <ewillbefull@gmail.com> | 2015-04-13 01:13:09 -0600 |
|---|---|---|
| committer | Sean Bowe <ewillbefull@gmail.com> | 2015-04-13 01:16:51 -0600 |
| commit | 49225b8fbc8e171e7788571dac82977a3b3f227c (patch) | |
| tree | f8097cd9a39e61fe7d3e467bce858983aefb0ff3 /src/libstd/array.rs | |
| parent | 37cb1d455e77fbdb132c920e523eb4845f6b4fb9 (diff) | |
| download | rust-49225b8fbc8e171e7788571dac82977a3b3f227c.tar.gz rust-49225b8fbc8e171e7788571dac82977a3b3f227c.zip | |
Delay specific span_bug() call until abort_if_errors()
An actual typeck error is the cause of many failed compilations but an unrelated bug is being reported instead. It is triggered because a typeck error is presumably not yet identified during compiler execution, which would normally bypass an invariant in the presence of other errors. In this particular situation, we delay the reporting of the bug until abort_if_errors(). Closes #23827, closes #24356, closes #23041, closes #22897, closes #23966, closes #24013, and closes #23729
Diffstat (limited to 'src/libstd/array.rs')
0 files changed, 0 insertions, 0 deletions
