Auto merge of #115735 - bjorn3:better_list_crate_metadata, r=wesleywiser

Extend rustc -Zls

This makes it show a lot more things and thus a lot more useful.
This commit is contained in:
bors 2023-09-13 10:23:57 +00:00
commit 7e0261e7ea
9 changed files with 204 additions and 29 deletions

View file

@ -1086,7 +1086,7 @@ impl Options {
/// Returns `true` if there will be an output file generated.
pub fn will_create_output_file(&self) -> bool {
!self.unstable_opts.parse_only && // The file is just being parsed
!self.unstable_opts.ls // The file is just being queried
self.unstable_opts.ls.is_empty() // The file is just being queried
}
#[inline]