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

Delete unused serde_derive #[macro_use] #2532

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Commits on Jul 26, 2023

  1. Delete unused serde_derive #[macro_use]

    In old versions of rustc (1.15 through 1.29) it would cause a warning if
    this #[macro_use] was not present.
    
        warning: proc macro crates and `#[no_link]` crates have no effect without `#[macro_use]`
           --> serde/src/lib.rs:340:1
            |
        340 | extern crate serde_derive;
            | ^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    These days serde_derive requires a newer compiler than that, so the
    bogus warning would never occur.
    dtolnay committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    3260bc5 View commit details
    Browse the repository at this point in the history