Skip to content

Commit d10f70b

Browse files
authored
Extern blocks are allowed for #[track_caller] now. (#710)
since rust-lang/rust#70916
1 parent 59c9fa7 commit d10f70b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/codegen/implicit-caller-location.md

-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ The `#[track_caller]` attribute is checked alongside other codegen attributes to
160160
function:
161161

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

0 commit comments

Comments
 (0)