We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb2298 commit 96c3332Copy full SHA for 96c3332
crates/flycheck/src/lib.rs
@@ -488,7 +488,9 @@ impl CargoActor {
488
// Skip certain kinds of messages to only spend time on what's useful
489
JsonMessage::Cargo(message) => match message {
490
cargo_metadata::Message::CompilerArtifact(artifact) if !artifact.fresh => {
491
- self.sender.send(CargoMessage::CompilerArtifact(artifact)).unwrap();
+ self.sender
492
+ .send(CargoMessage::CompilerArtifact(Box::new(artifact)))
493
+ .unwrap();
494
}
495
cargo_metadata::Message::CompilerMessage(msg) => {
496
self.sender.send(CargoMessage::Diagnostic(msg.message)).unwrap();
@@ -533,7 +535,7 @@ impl CargoActor {
533
535
534
536
537
enum CargoMessage {
- CompilerArtifact(cargo_metadata::Artifact),
538
+ CompilerArtifact(Box<cargo_metadata::Artifact>),
539
Diagnostic(Diagnostic),
540
541
0 commit comments