diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2025-06-15 14:59:05 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2025-06-15 20:40:08 +0800 |
| commit | a0db28f37c85a8a42e2eaf9144cebc3dc9c13875 (patch) | |
| tree | 5126bfd168da8b5a9a80b27820b591ed8d39b0ff /src | |
| parent | 32b51523f81a5f916c4bb3fee5a749721f19e01d (diff) | |
| download | rust-a0db28f37c85a8a42e2eaf9144cebc3dc9c13875.tar.gz rust-a0db28f37c85a8a42e2eaf9144cebc3dc9c13875.zip | |
clarify `rustc_do_not_const_check` comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs b/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs index 543ac0619dd..385c98ef877 100644 --- a/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs +++ b/src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs @@ -486,7 +486,7 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[ rustc_legacy_const_generics, Normal, template!(List: "N"), ErrorFollowing, INTERNAL_UNSTABLE ), - // Do not const-check this function's body. It will always get replaced during CTFE. + // Do not const-check this function's body. It will always get replaced during CTFE via `hook_special_const_fn`. rustc_attr!( rustc_do_not_const_check, Normal, template!(Word), WarnFollowing, INTERNAL_UNSTABLE ), |
