diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-30 16:14:38 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-02 09:01:34 +1100 |
| commit | 40da288eb040ac44e6de6d670ff8155b69706080 (patch) | |
| tree | 6aa1aad8113cb41009fcc58b1b780b3bc3e6bec2 | |
| parent | 4375419b24eecc6892910557e6fbd848c27f79e7 (diff) | |
| download | rust-40da288eb040ac44e6de6d670ff8155b69706080.tar.gz rust-40da288eb040ac44e6de6d670ff8155b69706080.zip | |
Rename `LayoutCalculator::delay_bug` as `LayoutCalculator::delayed_bug`.
To match with the previous commits.
| -rw-r--r-- | crates/hir-ty/src/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/layout.rs b/crates/hir-ty/src/layout.rs index b2591f016d4..27c79499868 100644 --- a/crates/hir-ty/src/layout.rs +++ b/crates/hir-ty/src/layout.rs @@ -110,7 +110,7 @@ struct LayoutCx<'a> { impl<'a> LayoutCalculator for LayoutCx<'a> { type TargetDataLayoutRef = &'a TargetDataLayout; - fn delay_bug(&self, txt: String) { + fn delayed_bug(&self, txt: String) { never!("{}", txt); } |
