Skip to content

Commit 228ee30

Browse files
committed
Regression test for rust-lang#13907
1 parent 2f17770 commit 228ee30

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/cargo/util/diagnostic_server.rs

+10
Original file line numberDiff line numberDiff line change
@@ -328,3 +328,13 @@ impl Drop for StartedServer {
328328
drop(self.thread.take().unwrap().join());
329329
}
330330
}
331+
332+
#[cfg(test)]
333+
mod tests {
334+
use super::*;
335+
336+
#[test]
337+
fn test_rustfix_diagnostic_server() {
338+
RustfixDiagnosticServer::new().unwrap();
339+
}
340+
}

0 commit comments

Comments
 (0)