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

READY: Attribute macros phantom implementation #1375

Merged
merged 8 commits into from
Jun 11, 2024

Conversation

BigglesworthCat
Copy link

No description provided.

@Wandalen
Copy link
Owner

Commits, please


#[ allow( dead_code ) ]
#[ the_module::phantom_data ]
struct StructNamed<T>
Copy link
Owner

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::{
Copy link
Owner

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 {
Copy link
Owner

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");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codestyle

@BigglesworthCat BigglesworthCat changed the title NOT READY: Derive macros derive_phantom_data implementation skeleton NOT READY: Attribute macros phantom implementation Jun 10, 2024
@Wandalen Wandalen merged commit 5f8ea59 into Wandalen:alpha Jun 11, 2024
@BigglesworthCat BigglesworthCat changed the title NOT READY: Attribute macros phantom implementation READY: Attribute macros phantom implementation Jun 11, 2024
@BigglesworthCat BigglesworthCat deleted the derive_phantom_data branch July 18, 2024 06:47
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.

None yet

2 participants