diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-04-02 15:58:07 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-04-19 19:53:54 +1000 |
| commit | 7ec7b572a973b565b74f02e459906f647065ebab (patch) | |
| tree | 3c15609db4b5ed23dd34525ecdd4acb4be8604e5 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 0b92969b8f5b328da13021a89b982f68b668b87d (diff) | |
| download | rust-7ec7b572a973b565b74f02e459906f647065ebab.tar.gz rust-7ec7b572a973b565b74f02e459906f647065ebab.zip | |
Fix the `-Zsanitizer_memory_track_origins` error message.
Currently, if you give a bogus value like `-Zsanitizer-memory-track-origins=99` you get this incorrect error: ``` error: debugging option `sanitizer-memory-track-origins` takes no value ``` This commit fixes it so it gives this instead: ``` error: incorrect value `99` for debugging option `sanitizer-memory-track-origins` - 0, 1, or 2 was expected ``` The commit also makes `parse_sanitizer_memory_track_origins` more readable.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
