Update some more cases of "type" -> "$message_type"
This commit is contained in:
parent
8aa4fb57f1
commit
fe50c5359e
2 changed files with 4 additions and 3 deletions
|
@ -317,7 +317,8 @@ struct ArtifactNotification<'a> {
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
struct FutureBreakageItem<'a> {
|
struct FutureBreakageItem<'a> {
|
||||||
// Actually Diagnostic, but we want to make sure it gets serialized with `type`.
|
// Always EmitTyped::Diagnostic, but we want to make sure it gets serialized
|
||||||
|
// with "$message_type".
|
||||||
diagnostic: EmitTyped<'a>,
|
diagnostic: EmitTyped<'a>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -222,7 +222,7 @@ flag][option-emit] documentation.
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
/* Type of this message */
|
/* Type of this message */
|
||||||
"type": "artifact",
|
"$message_type": "artifact",
|
||||||
/* The filename that was generated. */
|
/* The filename that was generated. */
|
||||||
"artifact": "libfoo.rlib",
|
"artifact": "libfoo.rlib",
|
||||||
/* The kind of artifact that was generated. Possible values:
|
/* The kind of artifact that was generated. Possible values:
|
||||||
|
@ -246,7 +246,7 @@ information, even if the diagnostics have been suppressed (such as with an
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
/* Type of this message */
|
/* Type of this message */
|
||||||
"type": "future_incompat",
|
"$message_type": "future_incompat",
|
||||||
/* An array of objects describing a warning that will become a hard error
|
/* An array of objects describing a warning that will become a hard error
|
||||||
in the future.
|
in the future.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue