We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b07730 commit db731e4Copy full SHA for db731e4
compiler/rustc_ast/src/format.rs
@@ -67,6 +67,12 @@ pub struct FormatArguments {
67
names: FxHashMap<Symbol, usize>,
68
}
69
70
+// FIXME: Rustdoc has trouble proving Send/Sync for this. See #106930.
71
+#[cfg(parallel_compiler)]
72
+unsafe impl Sync for FormatArguments {}
73
74
+unsafe impl Send for FormatArguments {}
75
+
76
impl FormatArguments {
77
pub fn new() -> Self {
78
Self {
0 commit comments