Skip to content

Commit 6cfd49e

Browse files
committed
add a missing dyn
1 parent bbaf45d commit 6cfd49e

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_data_structures

1 file changed

+1
-1
lines changed

src/librustc_data_structures/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ cfg_if! {
268268
t.into_par_iter()
269269
}
270270

271-
pub type MetadataRef = OwningRef<Box<Erased + Send + Sync>, [u8]>;
271+
pub type MetadataRef = OwningRef<Box<dyn Erased + Send + Sync>, [u8]>;
272272

273273
/// This makes locks panic if they are already held.
274274
/// It is only useful when you are running in a single thread

0 commit comments

Comments
 (0)