-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Confusing documentation for compile_error!() #63375
Copy link
Copy link
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Referring to
rust/src/libcore/macros.rs
Lines 681 to 683 in db7c773
It is unclear whether the "which" refers to "panic!" or "the compiler-level form of panic!". It is more clear to write: