gc-arena 0.6.0

safe, incrementally garbage collected arenas
Documentation
1
2
3
4
5
6
7
8
// Trait that is automatically implemented for all types that implement `Drop`.
//
// Used to cause a conflicting trait impl if a type implements `Drop` to forbid implementing `Drop`.
#[doc(hidden)]
pub trait __MustNotImplDrop {}

#[allow(drop_bounds)]
impl<T: Drop> __MustNotImplDrop for T {}