diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-03-22 05:47:11 +0100 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2024-03-22 06:32:51 +0100 |
| commit | 72472c831c56c208a8a174846c66dad0fa27e0e3 (patch) | |
| tree | 6ee6564a4aabc81fa280beed5bfd46e92f2fd440 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 6d5a93949af43b76d84a3c732e2bb1dfae6654f6 (diff) | |
| download | rust-72472c831c56c208a8a174846c66dad0fa27e0e3.tar.gz rust-72472c831c56c208a8a174846c66dad0fa27e0e3.zip | |
Arrange methods on HirTyLowerer more logically
This makes it easier to read the trait definition for newcomers: Sorted from least “complex” to most “complex” followed by trivial “plumbing” and grouped by area. * Move `allow_infer` above all `*_infer` methods * It's the least complex method of those * Allows the `*_infer` to be placed right next to each other * Move `probe_ty_param_bounds` further down right next to `lower_assoc_ty` and `probe_adt` * It's more complex than the `infer` methods, it should come “later” * Now all required lowering functions are grouped together * Move the “plumbing” function `set_tainted_by_errors` further down below any actual lowering methods. * Provided method should come last
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
