diff options
| author | J. Ryan Stinnett <jryans@gmail.com> | 2015-10-04 04:57:32 -0500 |
|---|---|---|
| committer | J. Ryan Stinnett <jryans@gmail.com> | 2015-10-04 04:57:32 -0500 |
| commit | ba9c383790c22dba74026340b01f2dda3e78f88c (patch) | |
| tree | fb9f27691f7ba19385ba990ddf8fc8cb928f933b /src/rustllvm/RustWrapper.cpp | |
| parent | bfb26033af68949646081429040db606a044db22 (diff) | |
| download | rust-ba9c383790c22dba74026340b01f2dda3e78f88c.tar.gz rust-ba9c383790c22dba74026340b01f2dda3e78f88c.zip | |
Only report error for first issued loan with conflict
Change error reporting of conflicting loans to stop earlier after printing an error for a given borrow, instead of proceeding to error on possibly every issued loan. This keeps us down to O(n) errors (for n problem lines), instead of O(n^2) errors in some cases. Fixes #27485.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
