mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Merge #1076
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>
This commit is contained in:
commit
fdbebccd71
10 changed files with 231 additions and 49 deletions
|
@ -67,6 +67,7 @@ pub use self::{
|
|||
|
||||
pub use self::code_model_api::{
|
||||
Crate, CrateDependency,
|
||||
DefWithBody,
|
||||
Module, ModuleDef, ModuleSource,
|
||||
Struct, Enum, EnumVariant,
|
||||
Function, FnSignature,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue