about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-05 16:08:07 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-05 18:01:11 +1100
commit010a9b1e6056970ad9b50618f485568f49cf962b (patch)
tree4797135cefde0490c5f5e589e459a4cf58e4fb8e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf107a50b2331e9adac586784b780e38ecb4bf8bd (diff)
downloadrust-010a9b1e6056970ad9b50618f485568f49cf962b.tar.gz
rust-010a9b1e6056970ad9b50618f485568f49cf962b.zip
Rename `Features::active_features`.
The word "active" is currently used in two different and confusing ways:
- `ACTIVE_FEATURES` actually means "available unstable features"
- `Features::active_features` actually means "features declared in the
  crate's code", which can include feature within `ACTIVE_FEATURES` but
  also others.

(This is also distinct from "enabled" features which includes declared
features but also some edition-specific features automatically enabled
depending on the edition in use.)

This commit changes the `Features::active_features` to
`Features::declared_features` which actually matches its meaning.
Likewise, `Features::active` becomes `Features::declared`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions