]> git.lizzy.rs Git - rust.git/commit
Improve error reporting for region inference failures to make use of
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 29 Oct 2013 10:12:50 +0000 (06:12 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Sat, 9 Nov 2013 00:45:49 +0000 (19:45 -0500)
commitf57a28b2dbb1823b88b5db270145a4f324820390
tree44bb201695620e567c8b067b3d71ddf7e2e5fb8f
parent168ac5290e9d4a787e020735f96fa789060a8f76
Improve error reporting for region inference failures to make use of
all the information it has at its disposal. Unfortunately this also
reveals that we need to improve the reporting heuristics further,
as sometimes the errors it chooses to emit seem somewhat mystifying
and are not related to the actual problem.
src/librustc/middle/typeck/infer/error_reporting.rs