about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-05 15:04:21 +0100
committerGitHub <noreply@github.com>2021-12-05 15:04:21 +0100
commit609d9a0108d4e6d79279fc6c5901eb5041c7aac7 (patch)
tree5eacc1fa67208fe3aff54a7e30b1432808a90567 /compiler/rustc_codegen_gcc
parenta8f8f746fc046a025d1b8c464ce28f6b828f32e9 (diff)
parent9b77a1e571041716ad0c446afd87949d40ed4de6 (diff)
downloadrust-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