add static_in_const feature gate#36332
Merged
bors merged 5 commits intorust-lang:masterfrom Sep 10, 2016
Merged
Conversation
also updates tests and deletes the spurious .bk files I inadvertently added last time.
src/librustc_typeck/rscope.rs
Outdated
| self.tcx | ||
| .sess | ||
| .struct_span_warn(span, | ||
| "This needs a `'static` lifetime or the \ |
Contributor
There was a problem hiding this comment.
Nit: it should be this not This, and this should be an error :)
Contributor
Author
|
@chriskrycho I even added a sentence about the feature gate to the reference. |
Contributor
|
@llogiq awesome. I'll see if I can add the docs for the feature itself over the weekend! |
Contributor
Collaborator
|
📌 Commit 76a2f9f has been approved by |
Contributor
Author
|
Thank you @nikomatsakis for the awesome mentoring. |
Collaborator
bors
added a commit
that referenced
this pull request
Sep 10, 2016
add static_in_const feature gate also updates tests and deletes the spurious .bk files I inadvertently added last time. r? @nikomatsakis
Collaborator
This was referenced Sep 10, 2016
This file contains hidden or 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
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.
also updates tests and deletes the spurious .bk files I inadvertently added last time.
r? @nikomatsakis