You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [Trait definition functions][items.traits] with a body
114
+
115
+
> [!NOTE]
116
+
> `rustc` currently warns in other positions, but this may be rejected in the future.
117
+
118
+
r[abi.link_section.duplicates]
119
+
Only the last instance of `link_section` on an item is honored. Previous `link_section` attributes are ignored.
120
+
121
+
> [!NOTE]
122
+
> `rustc` currently warns on preceding duplicate `link_section` attributes. This may become an error in the future.
123
+
106
124
r[abi.link_section.unsafe]
107
125
This attribute is unsafe as it allows users to place data and code into sections of memory not expecting them, such as mutable data into read-only areas.
0 commit comments