Extern blocks are allowed for #[track_caller] now. (#710)

since https://github.com/rust-lang/rust/pull/70916
This commit is contained in:
Adam Perry 2020-05-23 13:40:23 -07:00 committed by GitHub
parent 59c9fa7b3e
commit d10f70b005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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]`