File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ Only the first use of the `no_builtins` attribute has effect.
181181> [! NOTE ]
182182> `rustc` lints against any use following the first.
183183
184+ <! -- template: attributes - ->
184185r[attributes. codegen. target_feature]
185186## The `target_feature` attribute
186187
@@ -228,7 +229,7 @@ It is not allowed on the following places:
228229- safe default functions in traits
229230
230231> [! NOTE ]
231- > `rustc` currently warns on some positions where it is ignored, but this may become an error in the future.
232+ > `rustc` ignores use in other positions but lints against it . This may become an error in the future.
232233
233234r[attributes. codegen. target_feature. duplicates]
234235If the `target_feature` attribute is specified multiple times on an item, then the union of all the specified features are enabled.
You can’t perform that action at this time.
0 commit comments