Skip to content

Support paths relative to the current file in query_file!() #11

Closed
@abonander

Description

@abonander

This would require proc_macro::SourceFile to be stabilized (or a similar API): rust-lang/rust#54725

Probably would require fixing rust-lang/rust#62892

We could make it work on nightly using --cfg procmacro2_semver_exempt but that's a half-measure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs rust featureThis issue or PR needs a Rust feature to be stabilized before it can be merged into masterpostponed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions