@@ -446,53 +446,53 @@ LL | #[suggestion_part(code = 3)]
446446 | ^^^^^^^^
447447
448448error: specified multiple times
449- --> $DIR/subdiagnostic-derive.rs:739 :61
449+ --> $DIR/subdiagnostic-derive.rs:746 :61
450450 |
451451LL | #[suggestion(parser_add_paren, code = "", style = "hidden", style = "normal")]
452452 | ^^^^^^^^^^^^^^^^
453453 |
454454note: previously specified here
455- --> $DIR/subdiagnostic-derive.rs:739 :43
455+ --> $DIR/subdiagnostic-derive.rs:746 :43
456456 |
457457LL | #[suggestion(parser_add_paren, code = "", style = "hidden", style = "normal")]
458458 | ^^^^^^^^^^^^^^^^
459459
460460error: specified multiple times
461- --> $DIR/subdiagnostic-derive.rs:748 :50
461+ --> $DIR/subdiagnostic-derive.rs:755 :50
462462 |
463463LL | #[suggestion_hidden(parser_add_paren, code = "", style = "normal")]
464464 | ^^^^^^^^^^^^^^^^
465465 |
466466note: previously specified here
467- --> $DIR/subdiagnostic-derive.rs:748 :3
467+ --> $DIR/subdiagnostic-derive.rs:755 :3
468468 |
469469LL | #[suggestion_hidden(parser_add_paren, code = "", style = "normal")]
470470 | ^^^^^^^^^^^^^^^^^
471471
472472error: invalid suggestion style
473- --> $DIR/subdiagnostic-derive.rs:757 :51
473+ --> $DIR/subdiagnostic-derive.rs:764 :51
474474 |
475475LL | #[suggestion(parser_add_paren, code = "", style = "foo")]
476476 | ^^^^^
477477 |
478- = help: valid styles are `normal`, `short`, `hidden` and `verbose `
478+ = help: valid styles are `normal`, `short`, `hidden`, `verbose` and `tool-only `
479479
480480error: `#[suggestion(style = ...)]` is not a valid attribute
481- --> $DIR/subdiagnostic-derive.rs:765 :43
481+ --> $DIR/subdiagnostic-derive.rs:772 :43
482482 |
483483LL | #[suggestion(parser_add_paren, code = "", style = 42)]
484484 | ^^^^^^^^^^
485485
486486error: `#[suggestion(style)]` is not a valid attribute
487- --> $DIR/subdiagnostic-derive.rs:773 :43
487+ --> $DIR/subdiagnostic-derive.rs:780 :43
488488 |
489489LL | #[suggestion(parser_add_paren, code = "", style)]
490490 | ^^^^^
491491 |
492492 = help: a diagnostic slug must be the first argument to the attribute
493493
494494error: `#[suggestion(style(...))]` is not a valid attribute
495- --> $DIR/subdiagnostic-derive.rs:781 :43
495+ --> $DIR/subdiagnostic-derive.rs:788 :43
496496 |
497497LL | #[suggestion(parser_add_paren, code = "", style("foo"))]
498498 | ^^^^^^^^^^^^
0 commit comments