correct literals for dyn thread safe
This commit is contained in:
parent
9f8ab2a8d3
commit
089a38880b
11 changed files with 48 additions and 41 deletions
|
@ -199,7 +199,7 @@ impl<'a, T: Copy> IntoIterator for &'a List<T> {
|
|||
|
||||
unsafe impl<T: Sync> Sync for List<T> {}
|
||||
|
||||
// We need this since `List` uses extern type `OpaqueListContents`
|
||||
// We need this since `List` uses extern type `OpaqueListContents`.
|
||||
#[cfg(parallel_compiler)]
|
||||
use rustc_data_structures::sync::DynSync;
|
||||
#[cfg(parallel_compiler)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue