about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2025-01-19 14:18:46 -0800
committerEric Huss <eric@huss.org>2025-01-19 14:18:46 -0800
commitcee45632e89b550e83dbd55610657b139406a00f (patch)
tree62ce9148003dc619d0a7ba0b7cad0dddc0a7e269 /compiler/rustc_interface/src/interface.rs
parent39dc268459b4bd8b771e500169bea67850fad30d (diff)
downloadrust-cee45632e89b550e83dbd55610657b139406a00f.tar.gz
rust-cee45632e89b550e83dbd55610657b139406a00f.zip
Rename FileName::QuoteExpansion to CfgSpec
I believe this variant name was used incorrectly. The timeline is roughly:

* `FileName::cfg_spec_source_code` was added in
  https://github.com/rust-lang/rust/pull/54517. However, it used
  `FileName::Quote` instead of `FileName::CfgSpec` which I believe was a
  mistake.
* Quote stuff was removed in
  https://github.com/rust-lang/rust/pull/51285, but did not remove
  `FileName::Quote`.
* `FileName::CfgSpec` was removed in
  https://github.com/rust-lang/rust/pull/116474 because it was unused.

This restores it so that the `--cfg` variant uses a name that makes more
sense with how it is used, and restores what I think is the original
intent.
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions