We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 059e03f + 5e92241 commit 4f7987bCopy full SHA for 4f7987b
src/doc/rustc-dev-guide/src/implementing_new_features.md
@@ -167,9 +167,7 @@ a new unstable feature:
167
168
1. Prevent usage of the new feature unless the feature gate is set.
169
You can check it in most places in the compiler using the
170
- expression `tcx.features().$feature_name` (or
171
- `sess.features_untracked().$feature_name` if the
172
- tcx is unavailable)
+ expression `tcx.features().$feature_name()`
173
174
If the feature gate is not set, you should either maintain
175
the pre-feature behavior or raise an error, depending on
0 commit comments