aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/path/lower.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix GenericArgs grammarAleksey Kladov2020-07-311-19/+23
|
* Rename TypeArgList -> GenericArgListAleksey Kladov2020-07-311-2/+2
|
* Rename TypeRef -> TypeAleksey Kladov2020-07-311-2/+2
| | | | | | | | | | 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-1/+1
|
* Remove TypeAscriptionOwnerAleksey Kladov2020-07-301-2/+2
|
* Merge #4234bors[bot]2020-05-021-0/+15
|\ | | | | | | | | | | | | | | | | | | | | | | 4234: Support local_inner_macros r=jonas-schievink a=edwin0cheng This PR implements `#[macro_export(local_inner_macros)]` support. Note that the rustc implementation is quite [hacky][1] too. :) [1]: https://github.com/rust-lang/rust/blob/614f273e9388ddd7804d5cbc80b8865068a3744e/src/librustc_resolve/macros.rs#L456 Co-authored-by: Edwin Cheng <[email protected]>
| * Test whether it is bang macro properlyEdwin Cheng2020-05-021-8/+6
| |
| * Support local_inner_macrosEdwin Cheng2020-05-011-1/+18
| |
* | Introduce LowerCtx for path loweringEdwin Cheng2020-05-011-8/+15
|/
* Implement inline associated type boundsFlorian Diebold2020-04-131-5/+16
| | | | | | | 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 :)
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-1/+1
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-1/+1
|
* Reformat?Aleksey Kladov2020-03-021-5/+1
|
* fix completion for super::super::Josh Mcguigan2020-03-011-2/+6
|
* Forbid <T>::foo syntax in mod pathsAleksey Kladov2019-12-181-2/+4
|
* Refactor PathKindAleksey Kladov2019-12-171-2/+2
|
* Use different types for path with and without genericsAleksey Kladov2019-12-141-0/+176