]> git.lizzy.rs Git - rust.git/commit
fix DFS for region error reporting
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 10 May 2016 14:46:56 +0000 (10:46 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 10 May 2016 16:22:20 +0000 (12:22 -0400)
commitde0906fe12b8663006151be7b1e32ca540710a18
tree76c05cec7e76082be92f179a5a6cb301c23876c0
parentfaca79fc332f62b339aee5bd994b00e52d9ac051
fix DFS for region error reporting

This was causing terrible error reports, because the algorithm was
incorrectly identifying the constraints.
src/librustc/infer/region_inference/mod.rs
src/test/compile-fail/region-invariant-static-error-reporting.rs [new file with mode: 0644]