aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/type_ref.rs
Commit message (Collapse)AuthorAgeFilesLines
* "Finalize" Types grammarAleksey Kladov2020-07-311-1/+0
| | | | | | | Note that `for` type is rust-analyzer's own invention. Both the reference and syn allow `for` only for fnptr types, and we allow them everywhere. This needs to be checked with respect to type bounds grammar...
* Reame PlaceholderType -> InferTypeAleksey Kladov2020-07-311-1/+1
|
* Rename TypeRef -> TypeAleksey Kladov2020-07-311-15/+15
| | | | | | | | | | The TypeRef name comes from IntelliJ days, where you often have both type *syntax* as well as *semantical* representation of types in scope. And naming both Type is confusing. In rust-analyzer however, we use ast types as `ast::Type`, and have many more semantic counterparts to ast types, so avoiding name clash here is just confusing.
* Use ty to access most TypeRefsAleksey Kladov2020-07-301-7/+7
|
* Remove TypeAscriptionOwnerAleksey Kladov2020-07-301-5/+2
|
* Switch to ungrammar from ast_srcAleksey Kladov2020-07-291-1/+1
| | | | | | | | | | | | | | | | | | The primary advantage of ungrammar is that it (eventually) allows one to describe concrete syntax tree structure -- with alternatives and specific sequence of tokens & nodes. That should be re-usable for: * generate `make` calls * Rust reference * Hypothetical parser's evented API We loose doc comments for the time being unfortunately. I don't think we should add support for doc comments to ungrammar -- they'll make grammar file hard to read. We might supply docs as out-of band info, or maybe just via a reference, but we'll think about that once things are no longer in flux
* Thread varargs through r-aJonas Schievink2020-07-141-3/+10
|
* Support raw_ref_op's raw reference operatorrobojumper2020-05-281-0/+16
|
* Introduce LowerCtx for path loweringEdwin Cheng2020-05-011-21/+31
|
* Implement inline associated type boundsFlorian Diebold2020-04-131-2/+10
| | | | | | | Like `Iterator<Item: SomeTrait>`. This is an unstable feature, but it's used in the standard library e.g. in the definition of Flatten, so we can't get away with not implementing it :)
* Simpler acessors for keywordsAleksey Kladov2020-04-091-2/+2
|
* Be consistent about token accesorsAleksey Kladov2020-04-091-2/+2
|
* Fix inference of function pointer return typesLaurențiu Nicola2020-04-051-1/+5
|
* FormattingFlorian Diebold2020-02-071-3/+1
|
* wip lower impl trait to type argsFlorian Diebold2020-02-071-0/+44
|
* Reduce visibilityAleksey Kladov2019-11-241-4/+4
|
* move raw_items to hir_defAleksey Kladov2019-10-301-0/+162