dtolnay / dtolnay/proc-macro2

Method not found in 'Span' after release.

Open
#499 3 comments 11 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
934
Forks
135
PR merge metrics
No merged PRs in 30d

Description

error[E0599]: no method named `source_file` found for struct `proc_macro2::Span` in the current scope

let source_path = proc_macro2::Span::call_site().source_file().path();
| ^^^^^^^^^^^ method not found in `Span`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.