We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustc_optgroups
1 parent d054690 commit 999b906Copy full SHA for 999b906
compiler/rustc_session/src/config.rs
@@ -1665,6 +1665,13 @@ static EMIT_HELP: LazyLock<String> = LazyLock::new(|| {
1665
1666
/// Returns all rustc command line options, including metadata for
1667
/// each option, such as whether the option is stable.
1668
+///
1669
+/// # Option style guidelines
1670
1671
+/// - `<param>`: Indicates a required parameter
1672
+/// - `[param]`: Indicates an optional parameter
1673
+/// - `|`: Indicates a mutually exclusive option
1674
+/// - `*`: a list element with description
1675
pub fn rustc_optgroups() -> Vec<RustcOptGroup> {
1676
use OptionKind::{Flag, FlagMulti, Multi, Opt};
1677
use OptionStability::{Stable, Unstable};
0 commit comments