Commit Graph

4 Commits

Author SHA1 Message Date
hank-der-hafenarbeiter
b5ead0060c updated unit test 2016-08-09 14:02:25 +02:00
Niko Matsakis
2c9dfafa57 fix various error messages 2016-04-12 14:05:29 -04:00
Niko Matsakis
47d3b801ef move regr test into same directory 2016-04-12 14:05:29 -04:00
Niko Matsakis
ccaa2f855e Suppress fallback and ambiguity errors
If the infcx has observed other errors, then suppress both default type
parameter fallback (which can be unreliable, as the full constraint set
is not available) and errors related to unresovled
variables (annoyingly, integer type variables cannot currently be
unified with error, so that has to be a separate mechanism). Also add a
flag to `infcx` to allow us to independently indicate when we have
observed an error and hence should trigger this suppression mode.
2016-04-12 13:29:46 -04:00