From ad2b35bb31400f61a3ce2cee5fc9f8b43dda1065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Sun, 19 May 2019 18:02:08 +0200 Subject: [PATCH] Make ArenaField private --- src/librustc/arena.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/arena.rs b/src/librustc/arena.rs index 51588953a2f..d2797e65240 100644 --- a/src/librustc/arena.rs +++ b/src/librustc/arena.rs @@ -139,7 +139,7 @@ pub trait ArenaAllocatable {} impl ArenaAllocatable for T {} -pub unsafe trait ArenaField<'tcx>: Sized { +unsafe trait ArenaField<'tcx>: Sized { /// Returns a specific arena to allocate from. /// If None is returned, the DropArena will be used. fn arena<'a>(arena: &'a Arena<'tcx>) -> Option<&'a TypedArena>;