We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0405743 commit d11a676Copy full SHA for d11a676
src/stacked_borrows.rs
@@ -322,9 +322,7 @@ impl<'tcx> Stack {
322
}
323
return;
324
325
- if self.frozen_since.is_some() {
326
- bug!("Trying to create non-frozen reference to frozen location");
327
- }
+ assert!(self.frozen_since.is_none(), "Trying to create non-frozen reference to frozen location");
328
329
// Push new item to the stack.
330
let itm = match bor {
0 commit comments