Skip to content

Commit e78f1c8

Browse files
committed
Auto merge of #9247 - ehuss:doc-json-manifest_path, r=alexcrichton
Add documentation for JSON message_path. Documentation for the feature added in #9022.
2 parents c4da0c5 + 1f57827 commit e78f1c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/src/reference/external-tools.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ structure:
6767
"reason": "compiler-message",
6868
/* The Package ID, a unique identifier for referring to the package. */
6969
"package_id": "my-package 0.1.0 (path+file:///path/to/my-package)",
70+
/* Absolute path to the package manifest. */
71+
"manifest_path": "/path/to/my-package/Cargo.toml",
7072
/* The Cargo target (lib, bin, example, etc.) that generated the message. */
7173
"target": {
7274
/* Array of target kinds.
@@ -129,6 +131,8 @@ following structure:
129131
"reason": "compiler-artifact",
130132
/* The Package ID, a unique identifier for referring to the package. */
131133
"package_id": "my-package 0.1.0 (path+file:///path/to/my-package)",
134+
/* Absolute path to the package manifest. */
135+
"manifest_path": "/path/to/my-package/Cargo.toml",
132136
/* The Cargo target (lib, bin, example, etc.) that generated the artifacts.
133137
See the definition above for `compiler-message` for details.
134138
*/

0 commit comments

Comments
 (0)