-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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.
Description
Referring to
Lines 681 to 683 in db7c773
/// This macro should be used when a crate uses a conditional compilation strategy to provide | |
/// better error messages for erroneous conditions. It's the compiler-level form of [`panic!`], | |
/// which emits an error at *runtime*, rather than during compilation. |
It's the compiler-level form of panic!, which emits an error at runtime, rather than during compilation.
It is unclear whether the "which" refers to "panic!" or "the compiler-level form of panic!". It is more clear to write:
It is the compiler-level form of
panic!
, but emits an error during compilation, rather than at runtime.
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.