diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-07-11 16:08:38 +0200 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-07-11 16:08:38 +0200 |
| commit | 6cfd49e8dd8c09122c8b4f98ca3e7a33080e6e80 (patch) | |
| tree | e7de4162c85537590d4ed3e0609cddd494aff86c /src/librustc_data_structures | |
| parent | bbaf45d0f5214e5b175603cefeda9d04bc00b6b3 (diff) | |
| download | rust-6cfd49e8dd8c09122c8b4f98ca3e7a33080e6e80.tar.gz rust-6cfd49e8dd8c09122c8b4f98ca3e7a33080e6e80.zip | |
add a missing `dyn`
Diffstat (limited to 'src/librustc_data_structures')
| -rw-r--r-- | src/librustc_data_structures/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/sync.rs b/src/librustc_data_structures/sync.rs index 7668225627f..d4c6b1c2ced 100644 --- a/src/librustc_data_structures/sync.rs +++ b/src/librustc_data_structures/sync.rs @@ -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 |
