about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-22 13:01:30 +0000
committerbors <bors@rust-lang.org>2023-09-22 13:01:30 +0000
commit01903944d8c7e3cfdba88c9c7dbc09475b37d986 (patch)
treeba3b2a6465dbf9158635eb0bb5efd841e1126dd1 /compiler/rustc_middle/src
parent03c199af8e0f10c4fe4ead8e97e65286bef86e7d (diff)
parent3dd0419ea98da4d852c0aecec32eef0b466c07a6 (diff)
downloadrust-01903944d8c7e3cfdba88c9c7dbc09475b37d986.tar.gz
rust-01903944d8c7e3cfdba88c9c7dbc09475b37d986.zip
Auto merge of #115690 - ShE3py:Z-treat-err-as-bug, r=petrochenkov
Allow `-Z treat-err-as-bug=0`

Makes `-Z treat-err-as-bug=0` behave as if the option wasn't present instead of asking the value to be &GreaterSlantEqual; 1. This enables a quick on/off of the option, as you only need to change one character instead of removing the whole `-Z`.

Also update some text, e.g.
```bash
$ rustc -Z help | grep treat-err-as-bug
    -Z                      treat-err-as-bug=val -- treat error number `val` that occurs as bug
```
where the value could be interpreted as an error code instead of an ordinal.
Diffstat (limited to 'compiler/rustc_middle/src')
0 files changed, 0 insertions, 0 deletions