add Send to the argument type of encode_metadata
This commit is contained in:
parent
1be58056e1
commit
aa8e06458e
1 changed files with 1 additions and 1 deletions
|
@ -2189,7 +2189,7 @@ impl<D: Decoder> Decodable<D> for EncodedMetadata {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn encode_metadata(tcx: TyCtxt<'_>, path: impl AsRef<Path>) {
|
pub fn encode_metadata(tcx: TyCtxt<'_>, path: impl AsRef<Path> + Send) {
|
||||||
let _prof_timer = tcx.prof.verbose_generic_activity("generate_crate_metadata");
|
let _prof_timer = tcx.prof.verbose_generic_activity("generate_crate_metadata");
|
||||||
|
|
||||||
// Since encoding metadata is not in a query, and nothing is cached,
|
// Since encoding metadata is not in a query, and nothing is cached,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue