Skip to content

Commit

Permalink
strengthen language
Browse files Browse the repository at this point in the history
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
anp and Centril authored Feb 3, 2020
1 parent 6cc6561 commit a3b1da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/codegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ feature detection on the x86 platforms.
The `track_caller` attribute applies to function declarations and indicates to the compiler that the
attributed function's generated code should have an implicit `&'static core::panic::Location`
argument which is populated by its caller. If the caller of the attributed function is also
annotated with `#[track_caller]`, then the attributed function should receive the location
annotated with `#[track_caller]`, then the attributed function receives the location
its caller received, and so on.

An implementation of `core::intrinsics::caller_location` returns this implicit argument if called
Expand Down

0 comments on commit a3b1da7

Please sign in to comment.