1 // Test to ensure we only report an error for the first issued loan that
2 // conflicts with a new loan, as opposed to every issued loan. This keeps us
3 // down to O(n) errors (for n problem lines), instead of O(n^2) errors.
10 1 => { addr.push(&mut x); } //~ ERROR [E0499]
11 2 => { addr.push(&mut x); } //~ ERROR [E0499]
12 _ => { addr.push(&mut x); } //~ ERROR [E0499]