You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API Span::source_file is currently nightly (https://doc.rust-lang.org/stable/proc_macro/struct.Span.html#method.source_file), and there is no alternate way to get the path to the file a proc macro attribute runs on.
This means the pdl proc_macro attribute cannot use a relative file path similarly to include_str!.
This should be updated when the API becomes stable.
The text was updated successfully, but these errors were encountered:
The API
Span::source_file
is currently nightly (https://doc.rust-lang.org/stable/proc_macro/struct.Span.html#method.source_file), and there is no alternate way to get the path to the file a proc macro attribute runs on.This means the
pdl
proc_macro attribute cannot use a relative file path similarly toinclude_str!
.This should be updated when the API becomes stable.
The text was updated successfully, but these errors were encountered: