Skip to content

Add where clause on generics in derive - #152

Open
adityashah1212 wants to merge 2 commits into
tokio-rs:masterfrom
adityashah1212:master
Open

Add where clause on generics in derive#152
adityashah1212 wants to merge 2 commits into
tokio-rs:masterfrom
adityashah1212:master

Conversation

@adityashah1212

Copy link
Copy Markdown

This change adds where clause on generics when deriving valuable. This is to ensure that the generic type doesn't need an explicit Valuable bound of type declaration as that is infections and spreads all usages of the type.

CC: #147

This change adds where clause on generics when deriving valuable. This
is to ensure that the generic type doesn't need an explicit `Valuable`
bound of type declaration as that is infections and spreads all usages
of the type.
Only fixes in CI due to changes in rust version
1. doc_auto_cfg and doc_cfg_hide are now part of doc_cfg
2. Some new targets are now added in no_atomic.rs
@adityashah1212

Copy link
Copy Markdown
Author

@taiki-e seems like MSRV needs to be updated as proc-macro2 needs MSRV 1.71. What is your take on what should be done?

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.

1 participant