We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a074ee1 commit 3aa4b3eCopy full SHA for 3aa4b3e
src/librustc/arena.rs
@@ -139,7 +139,7 @@ pub trait ArenaAllocatable {}
139
140
impl<T: Copy> ArenaAllocatable for T {}
141
142
-pub unsafe trait ArenaField<'tcx>: Sized {
+unsafe trait ArenaField<'tcx>: Sized {
143
/// Returns a specific arena to allocate from.
144
/// If None is returned, the DropArena will be used.
145
fn arena<'a>(arena: &'a Arena<'tcx>) -> Option<&'a TypedArena<Self>>;
0 commit comments