Skip to content

Update to use proc_macro_derive attributes #614

Closed
@dtolnay

Description

@dtolnay

rust-lang/rust#37614 introduces #[proc_macro_derive(Serialize, attributes(serde))] to whitelist attributes of a certain name inside structs that have a custom derive. We no longer need to strip serde attributes after expansion.

Also that change requires custom derives to no longer return a copy of the input item so we need to fix that.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions