You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that no other built-in attributes should be propegated to method implementations. (There is some ambiguity for allow, warn, deny, forbid since something like #[allow(non_snake_case)]can appear on both trait item declarations and implementations, but testing shows that this is unnecessary.)
Summary
The
#[cfg(..)]
attr is used to conditionally compile something. If a trait item is conditional, then its re-implementation should be too.Are there any other attrs which should be forwarded?
To Reproduce
The text was updated successfully, but these errors were encountered: