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

add static_in_const feature gate #36332

Merged
merged 5 commits into from
Sep 10, 2016
Merged

Conversation

llogiq
Copy link
Contributor

@llogiq llogiq commented Sep 7, 2016

also updates tests and deletes the spurious .bk files I inadvertently added last time.

r? @nikomatsakis

also updates tests and deletes the spurious .bk files I inadvertently
added last time.
self.tcx
.sess
.struct_span_warn(span,
"This needs a `'static` lifetime or the \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: it should be this not This, and this should be an error :)

@llogiq
Copy link
Contributor Author

llogiq commented Sep 8, 2016

@chriskrycho I even added a sentence about the feature gate to the reference.

@chriskrycho
Copy link
Contributor

@llogiq awesome. I'll see if I can add the docs for the feature itself over the weekend!

@nikomatsakis
Copy link
Contributor

@bors r+

Looks good! Thanks @llogiq.

@bors
Copy link
Contributor

bors commented Sep 9, 2016

📌 Commit 76a2f9f has been approved by nikomatsakis

@llogiq
Copy link
Contributor Author

llogiq commented Sep 9, 2016

Thank you @nikomatsakis for the awesome mentoring.

@bors
Copy link
Contributor

bors commented Sep 10, 2016

⌛ Testing commit 76a2f9f with merge f508ddc...

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
@bors bors merged commit 76a2f9f into rust-lang:master Sep 10, 2016
@llogiq llogiq deleted the static_consts_feature branch September 10, 2016 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants