Skip to content

Commit 3aa4b3e

Browse files
committed
Make ArenaField private
1 parent a074ee1 commit 3aa4b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/arena.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pub trait ArenaAllocatable {}
139139

140140
impl<T: Copy> ArenaAllocatable for T {}
141141

142-
pub unsafe trait ArenaField<'tcx>: Sized {
142+
unsafe trait ArenaField<'tcx>: Sized {
143143
/// Returns a specific arena to allocate from.
144144
/// If None is returned, the DropArena will be used.
145145
fn arena<'a>(arena: &'a Arena<'tcx>) -> Option<&'a TypedArena<Self>>;

0 commit comments

Comments
 (0)