#rustc #features #attributes #version #removed #gate #unstable

nightly jomy-ap-rustc_feature

Automatically published version of the package rustc_feature in the rust-lang/rust repository from version 1.83.0 The publishing script for this crate lives at: https://github.com/rust-analyzer/rustc-auto-publish

2 releases (1 stable)

new 1.83.0 Nov 29, 2024
0.1.0 Nov 29, 2024

#577 in Programming languages

Download history 236/week @ 2024-11-25

236 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

1MB
19K SLoC

Feature gates

This crate declares the set of past and present unstable features in the compiler. Feature gate checking itself is done in rustc_ast_passes/src/feature_gate.rs at the moment.

Features are enabled in programs via the crate-level attributes of #![feature(...)] with a comma-separated list of features.

For the purpose of future feature-tracking, once a feature gate is added, even if it is stabilized or removed, do not remove it. Instead, move the symbol to the accepted or removed modules respectively.

Dependencies

~8–36MB
~577K SLoC