about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-20 12:37:56 +0800
committerGitHub <noreply@github.com>2025-01-20 12:37:56 +0800
commit82a239c798625b23c3de8cefd012f018d403d568 (patch)
treec9200b8ed9d95e2ff0319e9f83a126c7b93f5d04 /compiler/rustc_resolve/src
parentf3f21ae6a4e9e4b88192f0016eac9ceaa5513389 (diff)
parentcee45632e89b550e83dbd55610657b139406a00f (diff)
downloadrust-82a239c798625b23c3de8cefd012f018d403d568.tar.gz
rust-82a239c798625b23c3de8cefd012f018d403d568.zip
Rollup merge of #135747 - ehuss:filename-quote, r=SparrowLii
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_resolve/src')
0 files changed, 0 insertions, 0 deletions