diff options
| author | bors <bors@rust-lang.org> | 2016-04-25 08:13:22 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-25 08:13:22 -0700 |
| commit | 90318b8c225cde275cf2059330dc096f77301bce (patch) | |
| tree | 6a5a5708d0fb4b45d09f90053cfbae877902e158 /src/libsyntax/errors | |
| parent | cfae4dea875ddcc5f23481106a149ea15b6be1e5 (diff) | |
| parent | b3d54a2c0e793768cd9ce4a7887a75e3ec356cb5 (diff) | |
| download | rust-90318b8c225cde275cf2059330dc096f77301bce.tar.gz rust-90318b8c225cde275cf2059330dc096f77301bce.zip | |
Auto merge of #32258 - nikomatsakis:fewer-errors, r=arielb1
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. Fixes #31997 cc @alexcrichton r? @arielb1
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
