Skip to content

Commit

Permalink
Extern blocks are allowed for #[track_caller] now. (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
anp authored May 23, 2020
1 parent 59c9fa7 commit d10f70b
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 d10f70b

Please sign in to comment.