Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit aa8e064

Browse files
committed
add Send to the argument type of encode_metadata
1 parent 1be5805 commit aa8e064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_metadata/src/rmeta/encoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ impl<D: Decoder> Decodable<D> for EncodedMetadata {
21892189
}
21902190
}
21912191

2192-
pub fn encode_metadata(tcx: TyCtxt<'_>, path: impl AsRef<Path>) {
2192+
pub fn encode_metadata(tcx: TyCtxt<'_>, path: impl AsRef<Path> + Send) {
21932193
let _prof_timer = tcx.prof.verbose_generic_activity("generate_crate_metadata");
21942194

21952195
// Since encoding metadata is not in a query, and nothing is cached,

0 commit comments

Comments
 (0)