Extern blocks are allowed for #[track_caller] now. (#710)
since https://github.com/rust-lang/rust/pull/70916
This commit is contained in:
parent
c0d248e5ec
commit
93efcba5a2
1 changed files with 0 additions and 1 deletions
|
|
@ -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]`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue