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 upRFC: Private trait items #275
Comments
rust-highfive
added
the
postponed
label
Sep 24, 2014
nrc
added
the
T-lang
label
Aug 17, 2016
withoutboats
pushed a commit
to withoutboats/rfcs
that referenced
this issue
Jan 15, 2017
crumblingstatue
referenced this issue
Jun 17, 2017
Closed
Allow fields in traits that map to lvalues in impl'ing type #1546
This comment has been minimized.
This comment has been minimized.
crumblingstatue
commented
Jun 17, 2017
•
|
We could use In particular, maybe we could use |
This comment has been minimized.
This comment has been minimized.
|
Closing in favor of #2028 |
petrochenkov
closed this
Jun 17, 2017
This comment has been minimized.
This comment has been minimized.
crumblingstatue
commented
Jun 17, 2017
|
@petrochenkov This RFC is for trait items that can be implemented, but not visible to users. |
This comment has been minimized.
This comment has been minimized.
|
Hm, indeed, that RFC proposes something very different (I wouldn't call that "private trait items"). |
petrochenkov
reopened this
Jun 17, 2017
crumblingstatue
referenced this issue
Jun 17, 2017
Closed
Privacy for enum variants and trait items #2028
This comment has been minimized.
This comment has been minimized.
Restioson
commented
Jan 17, 2018
|
Hi, I just wanted to cross post my use case from #52 here so it can hopefully be given some attention. Perhaps the RFC could be rewritten with some of the new ideas such as using pub(restricted) syntax instead of priv keyword or defaultly private methods? |
rust-highfive commentedSep 24, 2014
Tracking issue for postponed PR #52