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:
@@ -67,6 +67,7 @@ pub use self::{
|
||||
|
||||
pub use self::code_model_api::{
|
||||
Crate, CrateDependency,
|
||||
DefWithBody,
|
||||
Module, ModuleDef, ModuleSource,
|
||||
Struct, Enum, EnumVariant,
|
||||
Function, FnSignature,
|
||||
|
||||
Reference in New Issue
Block a user