Skip to content

Compatibility with recent changes to proc_macro::Span #498

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
VictorArcium opened this issue Apr 16, 2025 · 1 comment
Closed

Compatibility with recent changes to proc_macro::Span #498

VictorArcium opened this issue Apr 16, 2025 · 1 comment

Comments

@VictorArcium
Copy link

rust-lang/rust#54725 (proc_macro Span stabilization) has had some updates.

  • proc_macro::SourceFile no longer works.
  • Span::source_file has been renamed to Span::file or Span::local_file.
@VictorArcium
Copy link
Author

Nevermind, it's already fixed in 1.0.95.

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