You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/rustfix/src/diagnostics.rs
+35-9Lines changed: 35 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,12 @@
1
-
//! Rustc Diagnostic JSON Output
1
+
//! Rustc Diagnostic JSON Output.
2
2
//!
3
-
//! The following data types are copied from [rust-lang/rust](https://github.com/rust-lang/rust/blob/de78655bca47cac8e783dbb563e7e5c25c1fae40/src/libsyntax/json.rs)
3
+
//! The following data types are copied from [rust-lang/rust](https://github.com/rust-lang/rust/blob/4fd68eb47bad1c121417ac4450b2f0456150db86/compiler/rustc_errors/src/json.rs).
4
+
//!
5
+
//! For examples of the JSON output, see JSON fixture files under `tests/` directory.
4
6
5
7
use serde::Deserialize;
6
8
9
+
/// The root diagnostic JSON output emitted by the compiler.
Copy file name to clipboardExpand all lines: src/cargo/lib.rs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,11 @@
70
70
//! This is not directly depended upon with a `path` dependency; cargo uses the version from crates.io.
71
71
//! It is intended to be versioned and published independently of Rust's release system.
72
72
//! Whenever a change needs to be made, bump the version in Cargo.toml and `cargo publish` it manually, and then update cargo's `Cargo.toml` to depend on the new version.
0 commit comments