Skip to content

Commit f058aa8

Browse files
committed
clarify rustc_do_not_const_check comment
1 parent 32b5152 commit f058aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/hir-expand/src/inert_attr_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
486486
rustc_legacy_const_generics, Normal, template!(List: "N"), ErrorFollowing,
487487
INTERNAL_UNSTABLE
488488
),
489-
// Do not const-check this function's body. It will always get replaced during CTFE.
489+
// Do not const-check this function's body. These are usually replaced during CTFE via `hook_special_const_fn`.
490490
rustc_attr!(
491491
rustc_do_not_const_check, Normal, template!(Word), WarnFollowing, INTERNAL_UNSTABLE
492492
),

0 commit comments

Comments
 (0)