-
Notifications
You must be signed in to change notification settings - Fork 177
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
Update Syn 1.0 -> 2.0 #1304
Update Syn 1.0 -> 2.0 #1304
Conversation
| syn::GenericArgument::Constraint(_) | ||
| syn::GenericArgument::Const(_) => {} | ||
syn::GenericArgument::AssocType(arg) => self.visit_type(&arg.ty), | ||
_ => {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed now because the enum became non_exhaustive
proc-macros/src/visitor.rs
Outdated
@@ -214,7 +212,7 @@ impl FindSubscriptionParams { | |||
fn visit_type_param_bound(&mut self, bound: &syn::TypeParamBound) { | |||
match bound { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you use if let here to make clippy happy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Close #1054