-
Notifications
You must be signed in to change notification settings - Fork 380
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mchernyavsky
force-pushed
the
const-generics-parse
branch
from
June 8, 2019 08:09
d2ed25d
to
e90edfa
Compare
This was referenced Jun 9, 2019
mchernyavsky
force-pushed
the
const-generics-parse
branch
from
June 9, 2019 03:11
e90edfa
to
19628ae
Compare
bors r+ |
Build failed |
bors retry |
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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to #3985.