diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-08 16:53:21 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-08 16:53:21 +0000 |
commit | 6b1c2ee168151db07e42403c37106491ff45c5e6 (patch) | |
tree | e3044af50bd5b7d91a21aa4703492a576a9f4ac7 /crates/ra_hir_ty/src/method_resolution.rs | |
parent | d0ad30ad976f09367da931de22a762019de25073 (diff) | |
parent | 5e096def15e992938b0e2838ae6c344939aa10f2 (diff) | |
parent | a1639d0d1ef201b2b9a425eddecfb41a25f10931 (diff) | |
parent | 61c3887b70820283cb759127e3aecf7cbdbdc8c1 (diff) |
Merge #2500 #2505 #2506
2500: Fix format_args expansion & go to definition r=matklad a=flodiebold
The expansion of format_args wasn't yet correct enough to type-check. Also make macros in statement position expand to expressions for now, since it's not handled correctly in HIR lowering yet. This finally fixes go to definition within print macros, I think :slightly_smiling_face:
2505: Remove more dead code r=matklad a=matklad
2506: Remove one more Ty r=matklad a=matklad
Co-authored-by: Florian Diebold <[email protected]>
Co-authored-by: Aleksey Kladov <[email protected]>