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 #140

Closed
estebank opened this issue Dec 27, 2018 · 0 comments
Closed

Incorrect use of deprecated attribute #140

estebank opened this issue Dec 27, 2018 · 0 comments

Comments

@estebank
Copy link

estebank commented Dec 27, 2018

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 frunk_core:

[INFO] [stderr]    Compiling frunk_core v0.2.2
[INFO] [stderr] error: expected meta item sequence
[INFO] [stderr]    --> /opt/crater/cargo-home/registry/src/git.luolix.top-1ecc6299db9ec823/frunk_core-0.2.2/src/labelled.rs:223:5
[INFO] [stderr]     |
[INFO] [stderr] 223 |     #[deprecated = "obsolete, transform_from instead"]
[INFO] [stderr]     |     ^^-----------------------------------------------^
[INFO] [stderr]     |       |
[INFO] [stderr]     |       help: use the `note` key: `deprecated(note = "obsolete, transform_from instead")`
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

1 participant