rust-analyzer/crates/ra_analysis/src
bors[bot] 1d6dcef5c5 Merge #332
332: Struct types r=matklad a=flodiebold

Infer types for struct fields, and add basic field completions. There's also some code for enums, but I focused on getting structs working.

There's still ways to go before this becomes useful: There's no autoderef (or even reference types) and no inference for `self`, for example.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2018-12-27 10:08:34 +00:00
..
completion Add a hir::TypeRef as an intermediate between ast::TypeRef and ty::Ty 2018-12-25 21:14:13 +01:00
completion.rs Implement basic completion for fields 2018-12-25 15:27:15 +01:00
db.rs Resolve field types lazily 2018-12-25 21:40:33 +01:00
imp.rs expose make_pub_crate action 2018-12-27 12:35:40 +03:00
lib.rs add fix for removing unnecessary braces in use statements 2018-12-26 00:45:13 +08:00
mock_analysis.rs remove unnecessary braces in use statments 2018-12-24 00:40:36 +08:00
symbol_index.rs less verbose debug for library data 2018-12-22 11:57:42 +03:00