Skip to content

Incorrect use of deprecated attribute #13

@estebank

Description

@estebank

rust-lang/rust#56896 is making the correct use of deprecated mandatory in rustc. We can't apply this as a hard error due to the following use in arc-swap:

[INFO] [stderr] error: expected meta item sequence
[INFO] [stderr]    --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.3.6/src/lib.rs:500:5
[INFO] [stderr]     |
[INFO] [stderr] 500 |     #[deprecated = "Use upgrade instead"]
[INFO] [stderr]     |     ^^----------------------------------^
[INFO] [stderr]     |       |
[INFO] [stderr]     |       help: use the `note` key: `deprecated(note = "Use upgrade instead")`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions