Skip to content

Commit

Permalink
Extern blocks are allowed for #[track_caller] now.
Browse files Browse the repository at this point in the history
  • Loading branch information
anp authored May 23, 2020
1 parent 266ab6e commit a4eeba3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/codegen/implicit-caller-location.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ The `#[track_caller]` attribute is checked alongside other codegen attributes to
function:

* has the `"Rust"` ABI (as opposed to e.g., `"C"`)
* is not a foreign import (e.g., in an `extern {...}` block)
* is not a closure
* is not `#[naked]`

Expand Down

0 comments on commit a4eeba3

Please sign in to comment.