Skip to content

Commit

Permalink
dumb workaround for dumb error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Markeffsky committed Dec 23, 2022
1 parent 54f0db6 commit c7813ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/alloc/src/collections/btree/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1676,6 +1676,7 @@ pub mod marker {
// happens using the result of `borrow_mut`.
// By disabling traversal, and only creating new references to roots,
// we know that every reference of the `Owned` type is to a root node.
#[cfg(not(doc))]
const TRAVERSAL_PERMIT: () = panic!();
}
impl BorrowType for Dying {}
Expand Down

0 comments on commit c7813ef

Please sign in to comment.