@@ -570,19 +570,37 @@ error: cannot find attribute `warn_` in this scope
570570 --> $DIR/diagnostic-derive.rs:590:3
571571 |
572572LL | #[warn_(no_crate_example, code = E0123)]
573- | ^^^^^ help: a built-in attribute with a similar name exists: `warn`
573+ | ^^^^^
574+ |
575+ help: a built-in attribute with a similar name exists
576+ |
577+ LL - #[warn_(no_crate_example, code = E0123)]
578+ LL + #[warn(no_crate_example, code = E0123)]
579+ |
574580
575581error: cannot find attribute `lint` in this scope
576582 --> $DIR/diagnostic-derive.rs:597:3
577583 |
578584LL | #[lint(no_crate_example, code = E0123)]
579- | ^^^^ help: a built-in attribute with a similar name exists: `link`
585+ | ^^^^
586+ |
587+ help: a built-in attribute with a similar name exists
588+ |
589+ LL - #[lint(no_crate_example, code = E0123)]
590+ LL + #[link(no_crate_example, code = E0123)]
591+ |
580592
581593error: cannot find attribute `lint` in this scope
582594 --> $DIR/diagnostic-derive.rs:604:3
583595 |
584596LL | #[lint(no_crate_example, code = E0123)]
585- | ^^^^ help: a built-in attribute with a similar name exists: `link`
597+ | ^^^^
598+ |
599+ help: a built-in attribute with a similar name exists
600+ |
601+ LL - #[lint(no_crate_example, code = E0123)]
602+ LL + #[link(no_crate_example, code = E0123)]
603+ |
586604
587605error: cannot find attribute `multipart_suggestion` in this scope
588606 --> $DIR/diagnostic-derive.rs:644:3
0 commit comments