From d10f70b005f2bd9c458003e88cccebf720ca7229 Mon Sep 17 00:00:00 2001 From: Adam Perry Date: Sat, 23 May 2020 13:40:23 -0700 Subject: [PATCH] Extern blocks are allowed for #[track_caller] now. (#710) since https://github.com/rust-lang/rust/pull/70916 --- src/codegen/implicit-caller-location.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/codegen/implicit-caller-location.md b/src/codegen/implicit-caller-location.md index 5f11dad30..c6dc89f65 100644 --- a/src/codegen/implicit-caller-location.md +++ b/src/codegen/implicit-caller-location.md @@ -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]`