about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-23 02:51:55 +0100
committerGitHub <noreply@github.com>2021-02-23 02:51:55 +0100
commit0e5bca5f518fe579c4ddd0942b025b7facef6f4b (patch)
treefb71de3227220f73ef26935d45e9e2d7553e8627 /compiler/rustc_codegen_llvm/src/back/write.rs
parent8541435e8d238c93cd9c72dae406f4135c162d25 (diff)
parent8ddd846ce118e5f0bb423d310cb38c7f4a76890e (diff)
downloadrust-0e5bca5f518fe579c4ddd0942b025b7facef6f4b.tar.gz
rust-0e5bca5f518fe579c4ddd0942b025b7facef6f4b.zip
Rollup merge of #82255 - nhwn:nonzero-err-as-bug, r=davidtwco
Make `treat_err_as_bug` Option<NonZeroUsize>

`rustc -Z treat-err-as-bug=N` already requires `N` to be nonzero when the argument is parsed, so changing the type from `Option<usize>` to `Option<NonZeroUsize>` is a low-hanging fruit in terms of layout optimization.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions