about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2015-10-04 04:57:32 -0500
committerJ. Ryan Stinnett <jryans@gmail.com>2015-10-04 04:57:32 -0500
commitba9c383790c22dba74026340b01f2dda3e78f88c (patch)
treefb9f27691f7ba19385ba990ddf8fc8cb928f933b /src/rustllvm/RustWrapper.cpp
parentbfb26033af68949646081429040db606a044db22 (diff)
downloadrust-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