diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-05 15:04:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-05 15:04:21 +0100 |
| commit | 609d9a0108d4e6d79279fc6c5901eb5041c7aac7 (patch) | |
| tree | 5eacc1fa67208fe3aff54a7e30b1432808a90567 /compiler/rustc_codegen_gcc | |
| parent | a8f8f746fc046a025d1b8c464ce28f6b828f32e9 (diff) | |
| parent | 9b77a1e571041716ad0c446afd87949d40ed4de6 (diff) | |
| download | rust-609d9a0108d4e6d79279fc6c5901eb5041c7aac7.tar.gz rust-609d9a0108d4e6d79279fc6c5901eb5041c7aac7.zip | |
Rollup merge of #91450 - hkmatsumoto:hide-type-error, r=estebank
Don't suggest types whose inner type is erroneous Currently, we check if the returned type equals to `tcx.ty_error()` not to emit erroneous types, but this has a pitfall; for example, `Option<[type error]> != tcx.ty_error()` holds. Fixes #91371.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
