Description
Currently, it appears we are misusing TyKind::Error
(and Const::Error
) in these places, which we should refactor:
-
fixed by Fix abuses of tykind::err #70870
rust/src/librustc_typeck/check/wfcheck.rs
Line 710 in 6dee5f1
-
fixed by Fix abuses of tykind::err #70870
rust/src/librustc_typeck/check/wfcheck.rs
Line 715 in 6dee5f1
-
fixed by Fix abuses of tykind::err #70870
rust/src/librustc_typeck/lib.rs
Line 383 in 6dee5f1
-
fixed by Fix abuses of tykind::err #70870
-
fixed by De-abuse TyKind::Error in pattern type checking #70932
rust/src/librustc_typeck/check/pat.rs
Lines 1428 to 1435 in 42abbd8
-
fixed by Use trait_object_dummy_self instead of err #71938
rust/src/librustc_typeck/check/closure.rs
Line 180 in 93dc97a
-
fixed by ty/walk: iterate
GenericArg
s instead ofTy
s. #70164 -
fixed by De-abuse TyKind::Error in exhaustiveness checking #71930