Deny bare trait objects in in src/librustc_data_structures

This commit is contained in:
ljedrz 2018-07-11 13:58:27 +02:00
parent ae5b629efd
commit ff65bbe96a
3 changed files with 15 additions and 13 deletions

View file

@ -88,7 +88,7 @@ cfg_if! {
t.into_iter()
}
pub type MetadataRef = OwningRef<Box<Erased>, [u8]>;
pub type MetadataRef = OwningRef<Box<dyn Erased>, [u8]>;
pub use std::rc::Rc as Lrc;
pub use std::rc::Weak as Weak;