We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aecde19 commit 5e92241Copy full SHA for 5e92241
src/doc/rustc-dev-guide/src/implementing_new_features.md
@@ -167,7 +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`
+ expression `tcx.features().$feature_name()`
171
172
If the feature gate is not set, you should either maintain
173
the pre-feature behavior or raise an error, depending on
0 commit comments