Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for static lifetime in statics (RFC #1623) #35897
Comments
nikomatsakis
added
B-RFC-approved
T-lang
B-unstable
E-help-wanted
E-mentor
and removed
E-help-wanted
labels
Aug 22, 2016
This comment has been minimized.
This comment has been minimized.
|
I would be up for mentoring someone in implementing this ( |
This comment has been minimized.
This comment has been minimized.
|
Cool! I'm not sure if I can find the time, but if I do, I'd be glad to code this up. |
This comment has been minimized.
This comment has been minimized.
|
Here are some pointers into the code:
|
This comment has been minimized.
This comment has been minimized.
|
Great! I think with those pointers I should be able to make some progress even with a modest amount of time. |
bors
added a commit
that referenced
this issue
Sep 2, 2016
bors
closed this
in
cfce351
Sep 2, 2016
nikomatsakis
reopened this
Sep 2, 2016
This comment has been minimized.
This comment has been minimized.
|
This should not have been closed. |
This comment has been minimized.
This comment has been minimized.
|
(Until it becomes stable.) |
nikomatsakis
referenced this issue
Sep 2, 2016
Closed
Missing feature gate for the default of `'static` #36216
This comment has been minimized.
This comment has been minimized.
|
@chriskrycho just a friendly heads-up: Did you get around to documenting this? |
This comment has been minimized.
This comment has been minimized.
|
I did not, but it’s on my list for after-work tasks this week! |
This comment has been minimized.
This comment has been minimized.
|
@llogiq this is fully implemented at this point, right? I guess we are blocked on some documentation efforts? I'd like to stabilize this change. |
This comment has been minimized.
This comment has been minimized.
|
This was, perhaps ironically given my RFC, blocked on me actually getting around to documenting it. I will aim to document it Monday.
|
This comment has been minimized.
This comment has been minimized.
OK :) |
This comment has been minimized.
This comment has been minimized.
|
I too would love to see this stabilized. Thank you Niko for pushing this forward! Also thank you Chris for caring about the docs. |
This comment has been minimized.
This comment has been minimized.
|
Sorry, didn’t get to this today as I was sick. Tomorrow, tomorrow, tomorrow! |
This comment has been minimized.
This comment has been minimized.
|
Get well soon! |
This comment has been minimized.
This comment has been minimized.
|
Documentation PR inbound shortly! |
chriskrycho
referenced this issue
Nov 22, 2016
Merged
Document RFC 1623: static lifetime elision. #37928
This comment has been minimized.
This comment has been minimized.
|
I'm going to go ahead and nominate for FCP, to kick the process off. Note that actual stabilization is blocked by docs landing, but we can at least start discussing whether to move to FCP (which itself lasts several weeks). @rfcbot fcp merge |
This comment has been minimized.
This comment has been minimized.
|
As I commented on #37928, removing the feature gate would very probably make the doc tests pass, thus removing the last hurdle before merging. It's a bit unfortunate to have this deadlock problem, but perhaps we can learn something from it? |
This comment has been minimized.
This comment has been minimized.
|
Yeah, this is a process thing I didn't see coming in the discussion in rust-lang/rfcs#1636. |
aturon
added
the
final-comment-period
label
Jan 4, 2017
This comment has been minimized.
This comment has been minimized.
|
@rfcbot reviewed |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Jan 23, 2017
|
psst @aturon, I wasn't able to add the |
est31
added a commit
to est31/rust
that referenced
this issue
Jan 23, 2017
est31
added a commit
to est31/rust
that referenced
this issue
Jan 27, 2017
est31
added a commit
to est31/rust
that referenced
this issue
Jan 28, 2017
est31
added a commit
to est31/rust
that referenced
this issue
Jan 28, 2017
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Feb 2, 2017
|
The final comment period is now complete. |
est31
added a commit
to est31/rust
that referenced
this issue
Feb 5, 2017
bors
added a commit
that referenced
this issue
Feb 7, 2017
est31
added a commit
to est31/rust
that referenced
this issue
Feb 8, 2017
est31
added a commit
to est31/rust
that referenced
this issue
Feb 8, 2017
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Feb 9, 2017
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Feb 9, 2017
bors
added a commit
that referenced
this issue
Feb 9, 2017
bors
closed this
in
#39265
Feb 9, 2017
This comment has been minimized.
This comment has been minimized.
|
Reopening until this is backported to 1.16. |
brson
reopened this
Feb 15, 2017
brson
added this to the 1.16.0 milestone
Feb 15, 2017
This comment has been minimized.
This comment has been minimized.
|
@brson wait, why are we backporting? We don't normally backport new features and stabilizations, do we? This seems relatively minor. |
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis would the lang team prefer to not backport? I don't think there's been a definitive answer in either #39265 (stabilization PR) or in #37928 (doc PR). I believe @est31 proposed a backport and I tagged it as such b/c of the request, but no answer has been had. If the answer is "no", however, then we can denominate and remove from milestones. |
This comment has been minimized.
This comment has been minimized.
|
Just note that back when I was proposing the backport, I thought that stabilisations usually do get backported. Didn't know that its usually only done exceptionally. |
This comment has been minimized.
This comment has been minimized.
|
Given that it's not much code, a backport wouldn't be that costly (and probably much appreciated But I'm also fine with waiting for 1.17 if there are more pressing matters. |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton I think we should not backport. This is just a normal stabilization and should follow the normal process. |
This comment has been minimized.
This comment has been minimized.
|
Sounds like the backport isn't gonna happen, so I'm going to remove beta-nominated from the PRs and un-milestone this issue. |
alexcrichton
removed this from the 1.16.0 milestone
Feb 21, 2017
This comment has been minimized.
This comment has been minimized.
|
Er, also re-close this issue |
alexcrichton
closed this
Feb 21, 2017
This comment has been minimized.
This comment has been minimized.
|
@brson, this feature is still mentioned in release notes, even though it didn't land. |
nikomatsakis commentedAug 22, 2016
Tracking issue for "static lifetime in statics", rust-lang/rfcs#1623, which defaults omitted lifetimes in statics to
'static.cc @llogiq