diff --git a/compiler/rustc_metadata/src/rmeta/decoder.rs b/compiler/rustc_metadata/src/rmeta/decoder.rs index 9324f236d22..a57bff3730d 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder.rs @@ -909,7 +909,7 @@ impl MetadataBlob { _ => { writeln!( out, - "unknown -Zls kind. allowed values are: no, all, root, lang_items, features, items" + "unknown -Zls kind. allowed values are: all, root, lang_items, features, items" )?; } } diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 06d11fa68ed..a13a79cdf2b 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1598,7 +1598,7 @@ options! { `none`, or a comma separated list of location details, for which \ valid options are `file`, `line`, and `column` (default: `file,line,column`)"), ls: Vec = (Vec::new(), parse_list, [UNTRACKED], - "decode and print various part of the crate metadata for a library crate \ + "decode and print various parts of the crate metadata for a library crate \ (space separated)"), macro_backtrace: bool = (false, parse_bool, [UNTRACKED], "show macro backtraces (default: no)"),