1
Fork 0

Fix some pub(crate) that were undetected bc of instrument

This commit is contained in:
Michael Goulet 2024-10-04 14:02:09 -04:00
parent 267cf8d3b2
commit be2540a1f0
16 changed files with 31 additions and 29 deletions

View file

@ -225,7 +225,7 @@ where
// FIXME: I think we should just control the flags externally,
// and then we do not need this machinery.
#[instrument(level = "debug")]
pub fn elaborate_drop(&mut self, bb: BasicBlock) {
fn elaborate_drop(&mut self, bb: BasicBlock) {
match self.elaborator.drop_style(self.path, DropFlagMode::Deep) {
DropStyle::Dead => {
self.elaborator