diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-10-02 20:42:21 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-02 20:42:21 +0530 |
| commit | f3ab5a66a93d00da8764057f1503486b8a2516b3 (patch) | |
| tree | ec0fa413a8739eed066c27334e5a024c0409087f /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | ed9740846b8fc813a763778e792589c17b359b45 (diff) | |
| parent | c321933e22952ec712f770340c674b1f5ccc03ed (diff) | |
| download | rust-f3ab5a66a93d00da8764057f1503486b8a2516b3.tar.gz rust-f3ab5a66a93d00da8764057f1503486b8a2516b3.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
