]> git.lizzy.rs Git - rust.git/commit
Fix a copy-and-paste bug in nearest_common_ancestor.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 20 Apr 2018 10:27:58 +0000 (20:27 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Fri, 20 Apr 2018 10:27:58 +0000 (20:27 +1000)
commit144c0d5519dff9eca7bacd6191856ef57dbb7e0f
tree208c9a3951389133dffc9cd4af1c168bb69fdd66
parent23561c6747b0916e852aaa2a5d04c0b0eeddc6de
Fix a copy-and-paste bug in nearest_common_ancestor.

This code path is rarely hit, which likely explains why this bug hasn't
been detected before now. (I only noticed it via code inspection.)
src/librustc/middle/region.rs