We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93dc97a commit d6d0799Copy full SHA for d6d0799
src/doc/rustc/src/json.md
@@ -59,8 +59,11 @@ Diagnostics have the following format:
59
"spans": [
60
{
61
/* The file where the span is located.
62
- For spans located within a macro expansion, this will be the
63
- name of the expanded macro in the format "<MACRONAME macros>".
+ Note that this path may not exist. For example, if the path
+ points to the standard library, and the rust src is not
64
+ available in the sysroot, then it may point to a non-existent
65
+ file. Beware that this may also point to the source of an
66
+ external crate.
67
*/
68
"file_name": "lib.rs",
69
/* The byte offset where the span starts (0-based, inclusive). */
0 commit comments