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

Find a way to specify arbitrary attributes on derived impls #1382

Closed
petrochenkov opened this issue Nov 27, 2015 · 2 comments
Closed

Find a way to specify arbitrary attributes on derived impls #1382

petrochenkov opened this issue Nov 27, 2015 · 2 comments
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.

Comments

@petrochenkov
Copy link
Contributor

Spawned from rust-lang/rust#18969

cc rust-lang/rust#20236

@nrc nrc added the T-lang Relevant to the language team, which will review and decide on the RFC. label Aug 19, 2016
@keeperofdakeys
Copy link

The only way I can see this working is being able to create a doc attribute that references an items name/type, like #[doc = "Foobar", target = Foobar::new]. Though I'm not sure how that would work for trait impls.

@petrochenkov
Copy link
Contributor Author

There's not too much motivation for specifying attributes on derived impls now, so I'm going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

3 participants