about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-04-11 17:14:41 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-04-12 08:02:38 +1000
commit877777f5bc0d02d409bbc6d68d8a7de8529254be (patch)
tree13cc308502fa3e394fa009b062d01cee4cdbc544 /compiler/rustc_codegen_llvm/src/errors.rs
parentc9b0635679fc5bb4fd157e1eaad8e7f21705d68a (diff)
downloadrust-877777f5bc0d02d409bbc6d68d8a7de8529254be.tar.gz
rust-877777f5bc0d02d409bbc6d68d8a7de8529254be.zip
Inline and remove `DescriptionCtx::from_early_bound_and_free_regions`.
It has a single call site, and the code is clearer with all region kinds
handled in one function, instead of splitting the handling across two
functions.

The commit also changes `DescriptionCtx::new` to use a more declarative
style, instead of creating a default `DescriptionCtx` and modifying it,
which I find easier to read.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions