@@ -23,7 +23,7 @@ LL | diag.note("untranslatable diagnostic");
23
23
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
24
25
25
error: diagnostics should only be created in `Diagnostic`/`Subdiagnostic`/`LintDiagnostic` impls
26
- --> $DIR/diagnostics.rs:99 :21
26
+ --> $DIR/diagnostics.rs:107 :21
27
27
|
28
28
LL | let _diag = dcx.struct_err(crate::fluent_generated::no_crate_example);
29
29
| ^^^^^^^^^^
@@ -35,37 +35,37 @@ LL | #![deny(rustc::diagnostic_outside_of_impl)]
35
35
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
36
37
37
error: diagnostics should only be created in `Diagnostic`/`Subdiagnostic`/`LintDiagnostic` impls
38
- --> $DIR/diagnostics.rs:102 :21
38
+ --> $DIR/diagnostics.rs:110 :21
39
39
|
40
40
LL | let _diag = dcx.struct_err("untranslatable diagnostic");
41
41
| ^^^^^^^^^^
42
42
43
43
error: diagnostics should be created using translatable messages
44
- --> $DIR/diagnostics.rs:102 :32
44
+ --> $DIR/diagnostics.rs:110 :32
45
45
|
46
46
LL | let _diag = dcx.struct_err("untranslatable diagnostic");
47
47
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
48
48
49
49
error: diagnostics should be created using translatable messages
50
- --> $DIR/diagnostics.rs:120 :7
50
+ --> $DIR/diagnostics.rs:128 :7
51
51
|
52
52
LL | f("untranslatable diagnostic", crate::fluent_generated::no_crate_example);
53
53
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
54
55
55
error: diagnostics should be created using translatable messages
56
- --> $DIR/diagnostics.rs:122 :50
56
+ --> $DIR/diagnostics.rs:130 :50
57
57
|
58
58
LL | f(crate::fluent_generated::no_crate_example, "untranslatable diagnostic");
59
59
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
60
60
61
61
error: diagnostics should be created using translatable messages
62
- --> $DIR/diagnostics.rs:124 :7
62
+ --> $DIR/diagnostics.rs:132 :7
63
63
|
64
64
LL | f("untranslatable diagnostic", "untranslatable diagnostic");
65
65
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
66
67
67
error: diagnostics should be created using translatable messages
68
- --> $DIR/diagnostics.rs:124 :36
68
+ --> $DIR/diagnostics.rs:132 :36
69
69
|
70
70
LL | f("untranslatable diagnostic", "untranslatable diagnostic");
71
71
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments