diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-04-11 17:14:41 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-04-12 08:02:38 +1000 |
| commit | 877777f5bc0d02d409bbc6d68d8a7de8529254be (patch) | |
| tree | 13cc308502fa3e394fa009b062d01cee4cdbc544 /compiler/rustc_codegen_llvm/src | |
| parent | c9b0635679fc5bb4fd157e1eaad8e7f21705d68a (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
