mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-22 12:34:43 +00:00
![bors[bot]](/assets/img/avatar_default.png)
1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <l3np27@gmail.com>