diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-01 21:16:25 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-01 21:16:25 +0100 |
commit | 3232fd5179f2e36dee69955ba8aae0463b142e67 (patch) | |
tree | 5267198bbe280983f82e0cd892562df0fc297dc7 /crates/ra_db | |
parent | d79a699f8e88379bd9c608cccea8afebc6c0d07b (diff) | |
parent | 44f5e2048ce00b0b417be95c16bae9a9ced1a5e8 (diff) | |
parent | 1e20467c3a62f0b8a65605938a2ddb7babcfd8bb (diff) |
Merge #4220 #4240
4220: Introduce LowerCtx r=matklad a=edwin0cheng
This PR introduces `LowerCtx` for path lowering.
After this PR, there are only 2 places remains for using deprecated `Path::from_ast`, which is related to `AstTransform` I am not familiar. I would like to change these in another PR by others ;)
related disscusiion: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Path.3A.3Afrom_src
And also fixed part of https://github.com/rust-analyzer/rust-analyzer/issues/4176#issuecomment-620672930
4240: Bump deps r=matklad a=lnicola
Co-authored-by: Edwin Cheng <[email protected]>
Co-authored-by: Laurențiu Nicola <[email protected]>