mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
9cc06eb54d
`-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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |