about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorHirochika Matsumoto <git@hkmatsumoto.com>2021-12-02 19:22:46 +0900
committerHirochika Matsumoto <git@hkmatsumoto.com>2021-12-04 23:51:56 +0900
commit9b77a1e571041716ad0c446afd87949d40ed4de6 (patch)
treeb4885e1b557d5941abaaff036588cd8869c36a43 /compiler/rustc_mir_transform/src/coverage/tests.rs
parent887999d163bace7e79370b952bdd1f930ff4cdd5 (diff)
downloadrust-9b77a1e571041716ad0c446afd87949d40ed4de6.tar.gz
rust-9b77a1e571041716ad0c446afd87949d40ed4de6.zip
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions