@@ -23,7 +23,7 @@ LL | diag.note("untranslatable diagnostic");
2323 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2424
2525error: diagnostics should only be created in `Diagnostic`/`Subdiagnostic`/`LintDiagnostic` impls
26- --> $DIR/diagnostics.rs:99 :21
26+ --> $DIR/diagnostics.rs:107 :21
2727 |
2828LL | let _diag = dcx.struct_err(crate::fluent_generated::no_crate_example);
2929 | ^^^^^^^^^^
@@ -35,37 +35,37 @@ LL | #![deny(rustc::diagnostic_outside_of_impl)]
3535 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3636
3737error: diagnostics should only be created in `Diagnostic`/`Subdiagnostic`/`LintDiagnostic` impls
38- --> $DIR/diagnostics.rs:102 :21
38+ --> $DIR/diagnostics.rs:110 :21
3939 |
4040LL | let _diag = dcx.struct_err("untranslatable diagnostic");
4141 | ^^^^^^^^^^
4242
4343error: diagnostics should be created using translatable messages
44- --> $DIR/diagnostics.rs:102 :32
44+ --> $DIR/diagnostics.rs:110 :32
4545 |
4646LL | let _diag = dcx.struct_err("untranslatable diagnostic");
4747 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
4848
4949error: diagnostics should be created using translatable messages
50- --> $DIR/diagnostics.rs:120 :7
50+ --> $DIR/diagnostics.rs:128 :7
5151 |
5252LL | f("untranslatable diagnostic", crate::fluent_generated::no_crate_example);
5353 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
5454
5555error: diagnostics should be created using translatable messages
56- --> $DIR/diagnostics.rs:122 :50
56+ --> $DIR/diagnostics.rs:130 :50
5757 |
5858LL | f(crate::fluent_generated::no_crate_example, "untranslatable diagnostic");
5959 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6060
6161error: diagnostics should be created using translatable messages
62- --> $DIR/diagnostics.rs:124 :7
62+ --> $DIR/diagnostics.rs:132 :7
6363 |
6464LL | f("untranslatable diagnostic", "untranslatable diagnostic");
6565 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6666
6767error: diagnostics should be created using translatable messages
68- --> $DIR/diagnostics.rs:124 :36
68+ --> $DIR/diagnostics.rs:132 :36
6969 |
7070LL | f("untranslatable diagnostic", "untranslatable diagnostic");
7171 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments