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

Incorrect use of deprecated attribute #13

Closed
estebank opened this issue Dec 26, 2018 · 2 comments
Closed

Incorrect use of deprecated attribute #13

estebank opened this issue Dec 26, 2018 · 2 comments

Comments

@estebank
Copy link

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")`
@vorner
Copy link
Owner

vorner commented Dec 26, 2018

Give me an hour or so, I'll release a fix.

@vorner
Copy link
Owner

vorner commented Dec 26, 2018

A fix should be released in 0.3.7.

@vorner vorner closed this as completed Dec 26, 2018
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

No branches or pull requests

2 participants