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

Deprecated variants broken in nightly #136

Closed
dtolnay opened this issue Jun 4, 2021 · 0 comments · Fixed by #183
Closed

Deprecated variants broken in nightly #136

dtolnay opened this issue Jun 4, 2021 · 0 comments · Fixed by #183

Comments

@dtolnay
Copy link
Owner

dtolnay commented Jun 4, 2021

As of the most recent nightly, it seems the test from #73 is no longer working.

$ cargo +nightly-2021-06-03 check --test test_deprecated
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s

$ cargo +nightly-2021-06-04 check --test test_deprecated
    Checking thiserror v1.0.25 (/git/thiserror)
error: use of deprecated unit variant `Error::Deprecated`
 --> tests/test_deprecated.rs:9:5
  |
9 |     Deprecated,
  |     ^^^^^^^^^^
  |
note: the lint level is defined here
 --> tests/test_deprecated.rs:1:9
  |
1 | #![deny(deprecated, clippy::all, clippy::pedantic)]
  |         ^^^^^^^^^^
dtolnay added a commit that referenced this issue Jun 4, 2021
Issue #136 tracks making this work again, or tracking down whatever
broke this in nightly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant