]> git.lizzy.rs Git - rust.git/commitdiff
Merge #8018
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 15 Mar 2021 12:51:27 +0000 (12:51 +0000)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 12:51:27 +0000 (12:51 +0000)
8018: Make Ty wrap TyKind in an Arc r=flodiebold a=flodiebold

... to further move towards Chalk.

This is a bit of a slowdown (218ginstr vs 213ginstr for inference on RA), even though it allows us to unwrap the Substs in `TyKind::Ref` etc..

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
1  2 
crates/hir/src/lib.rs
crates/hir_ty/src/infer.rs
crates/hir_ty/src/infer/expr.rs

Simple merge
Simple merge
Simple merge