rust/compiler/rustc_session/src
Matthias Krüger 9cc06eb54d
Rollup merge of #99620 - hudson-ayers:fix-location-detail, r=davidtwco
`-Z location-detail`: provide option to disable all location details

As reported [here](https://github.com/rust-lang/rust/pull/89920#issuecomment-1190598924), when I first implemented the `-Z location-detail` flag there was a bug, where passing an empty list was not correctly supported, and instead rejected by the compiler. This PR fixes that such that passing an empty list results in no location details being tracked, as originally specified in https://github.com/rust-lang/rfcs/pull/2091 .

This PR also adds a test case to verify that this option continues to work as intended.
2022-07-31 23:39:40 +02:00
..
cgu_reuse_tracker.rs
code_stats.rs avoid some Symbol to String conversions 2022-07-17 04:09:20 +09:00
config.rs Rollup merge of #99519 - Urgau:check-cfg-implicit, r=petrochenkov 2022-07-31 23:39:38 +02:00
cstore.rs
filesearch.rs
lib.rs Stabilize let_chains 2022-07-16 20:17:58 -03:00
options.rs Rollup merge of #99620 - hudson-ayers:fix-location-detail, r=davidtwco 2022-07-31 23:39:40 +02:00
output.rs
parse.rs
search_paths.rs
session.rs lint: add bad opt access internal lint 2022-07-27 11:24:27 +01:00
utils.rs Lib kind -l link-arg: 2022-07-26 13:55:27 +03:00