derive: reject unions as they require unsafe code #231
derive: reject unions as they require unsafe code #231GuillaumeGomez merged 2 commits intoaskama-rs:masterfrom
unions as they require unsafe code #231Conversation
4843ecb to
3e07719
Compare
|
|
||
| impl TemplateArgs { | ||
| pub(crate) fn new(ast: &syn::DeriveInput) -> Result<Self, CompileError> { | ||
| // FIXME: implement once <https://github.com/rust-lang/rfcs/pull/3715> is stable |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality
|
I'm not sure how difficult it would be to support In the meantime, merging this. Thanks! |
|
Adding Actually, looking at the RFC again, I am not sure if it would be useful to us. A proc_macro does not see the |
|
Sounds good to me. Not high priority for me either. |
No description provided.