diff options
| author | SparrowLii <liyuan179@huawei.com> | 2023-08-02 16:21:45 +0800 |
|---|---|---|
| committer | SparrowLii <liyuan179@huawei.com> | 2023-08-02 16:21:45 +0800 |
| commit | 90db1132c76f0c7dae0bee33cbadbb1390a5881f (patch) | |
| tree | 74fd1aa6a99683f08e94a9b06c344410672bd7fa /compiler/rustc_ast/src/format.rs | |
| parent | beef07fe8fb98aca9f2b59c6a1b3e4f3ea4c0e15 (diff) | |
| download | rust-90db1132c76f0c7dae0bee33cbadbb1390a5881f.tar.gz rust-90db1132c76f0c7dae0bee33cbadbb1390a5881f.zip | |
get auto traits for parallel rustc
Signed-off-by: SparrowLii <liyuan179@huawei.com>
Diffstat (limited to 'compiler/rustc_ast/src/format.rs')
| -rw-r--r-- | compiler/rustc_ast/src/format.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_ast/src/format.rs b/compiler/rustc_ast/src/format.rs index 699946f307b..805596ff00a 100644 --- a/compiler/rustc_ast/src/format.rs +++ b/compiler/rustc_ast/src/format.rs @@ -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 { |
