Skip to content

Error parsing "since" field of deprecated attribute with nightly-2022-11-24 #104848

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

Closed
maxburke opened this issue Nov 24, 2022 · 2 comments
Closed
Labels
C-bug Category: This is a bug.

Comments

@maxburke
Copy link

When trying nightly-2022-11-24 I'm running into this issue:

error: expected `,`, found `.`
   --> /Users/max/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/geo-types-0.7.7/src/geometry/geometry_collection.rs:111:25
    |
111 | #[deprecated(since = 0.7.5, note = "Use `GeometryCollection::from(vec![geom])` instead.")]
    |                         ^ expected `,`

It popped up after nightly-2022-11-01, though I haven't yet bisected which day it started.

@maxburke maxburke added the C-bug Category: This is a bug. label Nov 24, 2022
@maxburke maxburke changed the title Error parsing since field of deprecated attribute with nightly-2022-11-24 Error parsing "since" field of deprecated attribute with nightly-2022-11-24 Nov 24, 2022
@ehuss
Copy link
Contributor

ehuss commented Nov 24, 2022

This was changed as part of #104148. The compiler now validates attributes of trait impls. Updating geo-types to 0.7.8 can fix the issue.

@maxburke
Copy link
Author

Ah, okay, I'll close the issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants