pgcentralfoundation / pgrx

Build Postgres Extensions with Rust!
Other
3.42k stars 223 forks source link

Begin synthesizing spans #1746

Closed workingjubilee closed 2 days ago

workingjubilee commented 2 days ago

I consulted other rust-lang devs and they agree proc-macros should use what I refer to as "synthetic" spans. These spans have their root context derived from Span::mixed_site() or Span::call_site() but have been given a location in the code somewhere.