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
error[E0599]: no method named source_file found for struct proc_macro2::Span in the current scope
--> /Users/stevensanborn/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-syn-0.31.0/src/idl/defined.rs:499:66
|
499 | ...n::call_site().source_file().path();
| ^^^^^^^^^^^ method not found in Span
so what fixed it for em was
line 499 ... let source_path = proc_macro2::Span::call_site().file();