1
Fork 0

Rename TypeckTables to TypeckResults.

This commit is contained in:
Valentin Lazureanu 2020-07-17 08:47:04 +00:00
parent 62db617e40
commit 5a20489c5c
103 changed files with 471 additions and 424 deletions

View file

@ -300,7 +300,7 @@ fn has_is_empty(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool {
return false;
}
let ty = &walk_ptrs_ty(cx.tables().expr_ty(expr));
let ty = &walk_ptrs_ty(cx.typeck_results().expr_ty(expr));
match ty.kind {
ty::Dynamic(ref tt, ..) => tt.principal().map_or(false, |principal| {
cx.tcx