Skip to content

Commit

Permalink
add a missing dyn
Browse files Browse the repository at this point in the history
  • Loading branch information
ljedrz committed Jul 11, 2018
1 parent bbaf45d commit 6cfd49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_data_structures/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ cfg_if! {
t.into_par_iter()
}

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

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

0 comments on commit 6cfd49e

Please sign in to comment.