Skip to content

regression: cannot find type SourceFile in crate proc_macro #147980

@BoxyUwU

Description

@BoxyUwU
[INFO] [stdout] error[E0412]: cannot find type `SourceFile` in crate `proc_macro`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.85/src/wrapper.rs:365:26
[INFO] [stdout]     |
[INFO] [stdout] 365 |     Compiler(proc_macro::SourceFile),
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions