Skip to content

Add no_deref attribute to opt out of generating deref impls for imported types #2652

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

Merged
merged 2 commits into from
Aug 10, 2021

Conversation

Jules-Bertholet
Copy link
Contributor

This allows:

  1. An imported type to extend another type with more restricted visibility
  2. Custom Deref impls for imported types

@alexcrichton
Copy link
Contributor

Sure!

@alexcrichton alexcrichton merged commit 4770fab into rustwasm:master Aug 10, 2021
@Jules-Bertholet Jules-Bertholet deleted the no-deref branch August 10, 2021 16:06
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.

2 participants