1
Fork 0

get auto traits for parallel rustc

Signed-off-by: SparrowLii <liyuan179@huawei.com>
This commit is contained in:
SparrowLii 2023-08-02 16:21:45 +08:00
parent beef07fe8f
commit 90db1132c7
2 changed files with 0 additions and 12 deletions

View file

@ -67,12 +67,6 @@ pub struct FormatArguments {
names: FxHashMap<Symbol, usize>,
}
// FIXME: Rustdoc has trouble proving Send/Sync for this. See #106930.
#[cfg(parallel_compiler)]
unsafe impl Sync for FormatArguments {}
#[cfg(parallel_compiler)]
unsafe impl Send for FormatArguments {}
impl FormatArguments {
pub fn new() -> Self {
Self {