-
Notifications
You must be signed in to change notification settings - Fork 37
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
READY: Attribute macros phantom
implementation
#1375
Conversation
Commits, please |
|
||
#[ allow( dead_code ) ] | ||
#[ the_module::phantom_data ] | ||
struct StructNamed<T> |
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.
codestyle
@@ -0,0 +1,27 @@ | |||
use super::*; | |||
use macro_tools::{ |
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.
code style
|
||
#[ cfg( feature = "derive_phantom_data" ) ] | ||
#[ path = "phantom_data" ] | ||
mod phantom_data_tests { |
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.
code style
b : i32, | ||
} | ||
|
||
include!("./only_test/struct_named.rs"); |
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.
codestyle
derive_phantom_data
implementation skeletonphantom
implementation
phantom
implementationphantom
implementation
No description provided.