Work around issue 106930.
This commit is contained in:
parent
7b077307fd
commit
db731e42b3
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ pub struct FormatArguments {
|
||||||
names: FxHashMap<Symbol, usize>,
|
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 {
|
impl FormatArguments {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue