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

Determine the visibility based on the original type #5

Merged
merged 1 commit into from
Nov 15, 2019
Merged

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Nov 15, 2019

The visibility of the projected type and projection method is based on
the original type. However, if the visibility of the original type is
pub, the visibility of the projected type and the projection method is
pub(crate).

Based on taiki-e/pin-project#96

The visibility of the projected type and projection method is based on
the original type. However, if the visibility of the original type is
`pub`, the visibility of the projected type and the projection method is
`pub(crate)`.
@taiki-e
Copy link
Owner Author

taiki-e commented Nov 15, 2019

bors r+

bors bot added a commit that referenced this pull request Nov 15, 2019
5: Determine the visibility based on the original type r=taiki-e a=taiki-e

The visibility of the projected type and projection method is based on
the original type. However, if the visibility of the original type is
`pub`, the visibility of the projected type and the projection method is
`pub(crate)`.

Based on taiki-e/pin-project#96

Co-authored-by: Taiki Endo <te316e89@gmail.com>
@bors
Copy link
Contributor

bors bot commented Nov 15, 2019

Build succeeded

  • test (nightly)
  • style (rustfmt)
  • test (beta)
  • test (1.37.0)
  • style (rustdoc)
  • test (stable)
  • style (clippy)

@bors bors bot merged commit f5dc069 into master Nov 15, 2019
@bors bors bot deleted the visibility branch November 15, 2019 12:05
@taiki-e taiki-e added the C-enhancement Category: A new feature or an improvement for an existing one label Jun 4, 2020
@taiki-e taiki-e removed the C-enhancement Category: A new feature or an improvement for an existing one label Jan 7, 2021
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.

None yet

1 participant