diff options
| author | Nika Layzell <nika@thelayzells.com> | 2022-07-09 11:34:06 -0400 |
|---|---|---|
| committer | Nika Layzell <nika@thelayzells.com> | 2022-07-18 13:06:51 -0400 |
| commit | c4acac64432aa6026ae24422abfee7c3014576e3 (patch) | |
| tree | 593987890f0e5d8080e461bfd4b5f80ee706565a /compiler/rustc_codegen_gcc | |
| parent | b34c79f8f1ef4d0149ad4bf77e1759c07a9a01a8 (diff) | |
| download | rust-c4acac64432aa6026ae24422abfee7c3014576e3.tar.gz rust-c4acac64432aa6026ae24422abfee7c3014576e3.zip | |
proc_macro: Move subspan to be a method on Span in the bridge
This method is still only used for Literal::subspan, however the implementation only depends on the Span component, so it is simpler and more efficient for now to pass down only the information that is needed. In the future, if more information about the Literal is required in the implementation (e.g. to validate that spans line up as expected with source text), that extra information can be added back with extra arguments.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
