Extern blocks are allowed for #[track_caller] now. (#710)
since https://github.com/rust-lang/rust/pull/70916
This commit is contained in:
parent
59c9fa7b3e
commit
d10f70b005
|
|
@ -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…
Reference in New Issue