Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRAM: Parse const generics #3990

Merged
merged 1 commit into from
Jun 10, 2019
Merged

GRAM: Parse const generics #3990

merged 1 commit into from
Jun 10, 2019

Conversation

mchernyavsky
Copy link
Member

Relates to #3985.

@vlad20012
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Jun 10, 2019
3990: GRAM: Parse const generics r=vlad20012 a=mchernyavsky

Relates to #3985.

Co-authored-by: mchernyavsky <chemike47@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jun 10, 2019

Build failed

@mchernyavsky
Copy link
Member Author

bors retry

bors bot added a commit that referenced this pull request Jun 10, 2019
3990: GRAM: Parse const generics r=vlad20012 a=mchernyavsky

Relates to #3985.

Co-authored-by: mchernyavsky <chemike47@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jun 10, 2019

@bors bors bot merged commit 19628ae into master Jun 10, 2019
@bors bors bot deleted the const-generics-parse branch June 10, 2019 11:09
bors bot added a commit that referenced this pull request Jun 10, 2019
3935: MACRO&RES: initial version of include macro support r=vlad20012 a=Undin

Add initial support of `include!` macro. It brings all common code insight features (like name resolution, code completion, etc.) in both including and included files. Also, it should fix false positive editor notification for included files.

![2019-06-03 12 47 16](https://user-images.githubusercontent.com/2539310/58792898-bcaa2c80-85fd-11e9-9e4e-1064fe61b146.gif)

Restrictions:
* only string literals are supported as arguments
* `include` macro call should be located only in a module. At this moment, if `include` macro is called in a function, it won't be indexed and as a result, won't be found via the corresponding index. So the current implementation works only with instances of `RsMod`

Fixes #3563
Fixes problems described in #771 and #1078 in certain cases
The initial step of #1908

3993:  COMP & RES: Resolve const generics r=vlad20012 a=mchernyavsky

Relates to #3985. Depends on #3990.


Co-authored-by: Arseniy Pendryak <a.pendryak@yandex.ru>
Co-authored-by: mchernyavsky <chemike47@gmail.com>
bors bot added a commit that referenced this pull request Jun 10, 2019
3992: ANN: Annotate const generics as experimental r=vlad20012 a=mchernyavsky

Relates to #3985. Depends on #3990.


Co-authored-by: mchernyavsky <chemike47@gmail.com>
bors bot added a commit that referenced this pull request Jun 10, 2019
3993:  COMP & RES: Resolve const generics r=vlad20012 a=mchernyavsky

Relates to #3985. Depends on #3990.


Co-authored-by: mchernyavsky <chemike47@gmail.com>
bors bot added a commit that referenced this pull request Jun 10, 2019
3993:  COMP & RES: Resolve const generics r=vlad20012 a=mchernyavsky

Relates to #3985. Depends on #3990.


Co-authored-by: mchernyavsky <chemike47@gmail.com>
@mchernyavsky mchernyavsky added this to the v100 milestone Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants