File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,10 +145,10 @@ feature detection on the x86 platforms.
145
145
146
146
## The ` track_caller ` attribute
147
147
148
- The ` track_caller ` attribute may be applied to any function with [ ` "Rust" ` ABI] [ rust-abi ] . When
149
- applied to functions and methods in trait declarations, the attribute applies to all
150
- implementations. If the trait provides a default implementation with the attribute, then the
151
- attribute also applies to override implementations.
148
+ The ` track_caller ` attribute may be applied to any function with [ ` "Rust" ` ABI] [ rust-abi ]
149
+ with the exception of the entry point ` fn main ` . When applied to functions and methods in
150
+ trait declarations, the attribute applies to all implementations. If the trait provides a
151
+ default implementation with the attribute, then the attribute also applies to override implementations.
152
152
153
153
When applied to a function in an ` extern ` block the attribute must also be applied to any linked
154
154
implementations, otherwise undefined behavior results. When applied to a function which is made
You can’t perform that action at this time.
0 commit comments