about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorEd Page <eopage@gmail.com>2025-02-18 10:28:36 -0600
committerEd Page <eopage@gmail.com>2025-02-18 10:28:36 -0600
commitaecde199adeed94f79c612bb380e76e8775a6653 (patch)
tree5bc05f11e0ce1e9218a5fdf02b37576e4ff9ba36 /src/doc/rustc-dev-guide
parentce36a966c79e109dabeef7a47fe68e5294c6d71e (diff)
downloadrust-aecde199adeed94f79c612bb380e76e8775a6653.tar.gz
rust-aecde199adeed94f79c612bb380e76e8775a6653.zip
docs(dev): Remove reference to features_untracked
This was removed in #114723
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/implementing_new_features.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/implementing_new_features.md b/src/doc/rustc-dev-guide/src/implementing_new_features.md
index 5b67ccd7f4c..c77b872cf5c 100644
--- a/src/doc/rustc-dev-guide/src/implementing_new_features.md
+++ b/src/doc/rustc-dev-guide/src/implementing_new_features.md
@@ -167,9 +167,7 @@ a new unstable feature:
 
 1. Prevent usage of the new feature unless the feature gate is set.
    You can check it in most places in the compiler using the
-   expression `tcx.features().$feature_name` (or
-   `sess.features_untracked().$feature_name` if the
-   tcx is unavailable)
+   expression `tcx.features().$feature_name`
 
     If the feature gate is not set, you should either maintain
     the pre-feature behavior or raise an error, depending on