Dylan DPC f3ab5a66a9
Rollup merge of #102538 - cjgillot:def-span-ctxt, r=fee1-dead
Give `def_span` the same SyntaxContext as `span_with_body`.

https://github.com/rust-lang/rust/issues/102217

I'm not sure how to add a test, since the erroneous span was crafted using a proc macro.
The debug assertion in `def_span` will ensure we have the correct behaviour.
2022-10-02 20:42:21 +05:30
..
2022-10-01 10:03:06 +00:00
2022-09-26 10:14:45 +02:00
2022-10-01 16:22:40 +02:00
2022-09-02 07:26:22 +10:00
2022-10-01 16:22:40 +02:00
2022-09-14 20:50:52 +00:00
2022-09-26 10:14:45 +02:00
2022-10-01 16:24:30 +02:00
2022-09-26 10:14:45 +02:00