diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-11 16:56:52 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-13 10:05:57 +1100 |
| commit | 423bf4233d92dfaa4c97f04c4fc3a2368d880d24 (patch) | |
| tree | 395592850cd17fce055cb19b47ef1b91d5546d35 /compiler/rustc_codegen_llvm/src | |
| parent | 4acc5e6480e6eada1ad8d867ea31de9b998216a8 (diff) | |
| download | rust-423bf4233d92dfaa4c97f04c4fc3a2368d880d24.tar.gz rust-423bf4233d92dfaa4c97f04c4fc3a2368d880d24.zip | |
Rename the `span` args to `emit_unescape_error`.
The `span` arg is described in a comment as "interior span of the literal, without quotes", which is incorrect. It's actually the span of the error part of the literal, corresponding to `range`. This commit renames `span` and `span_without_quotes` to make things clearer, and fixes the erroneous comment.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
