|
1 | 1 | error: diagnostics should be created using translatable messages |
2 | | - --> $DIR/diagnostics.rs:42:9 |
| 2 | + --> $DIR/diagnostics.rs:43:9 |
3 | 3 | | |
4 | 4 | LL | Diag::new(dcx, level, "untranslatable diagnostic") |
5 | 5 | | ^^^^^^^^^ |
6 | 6 | | |
7 | 7 | note: the lint level is defined here |
8 | | - --> $DIR/diagnostics.rs:6:9 |
| 8 | + --> $DIR/diagnostics.rs:7:9 |
9 | 9 | | |
10 | 10 | LL | #![deny(rustc::untranslatable_diagnostic)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | 13 | error: diagnostics should be created using translatable messages |
14 | | - --> $DIR/diagnostics.rs:63:14 |
| 14 | + --> $DIR/diagnostics.rs:64:14 |
15 | 15 | | |
16 | 16 | LL | diag.note("untranslatable diagnostic"); |
17 | 17 | | ^^^^ |
18 | 18 |
|
19 | 19 | error: diagnostics should only be created in `IntoDiagnostic`/`AddToDiagnostic` impls |
20 | | - --> $DIR/diagnostics.rs:81:21 |
| 20 | + --> $DIR/diagnostics.rs:82:21 |
21 | 21 | | |
22 | 22 | LL | let _diag = dcx.struct_err(crate::fluent_generated::no_crate_example); |
23 | 23 | | ^^^^^^^^^^ |
24 | 24 | | |
25 | 25 | note: the lint level is defined here |
26 | | - --> $DIR/diagnostics.rs:7:9 |
| 26 | + --> $DIR/diagnostics.rs:8:9 |
27 | 27 | | |
28 | 28 | LL | #![deny(rustc::diagnostic_outside_of_impl)] |
29 | 29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
30 | 30 |
|
31 | 31 | error: diagnostics should only be created in `IntoDiagnostic`/`AddToDiagnostic` impls |
32 | | - --> $DIR/diagnostics.rs:84:21 |
| 32 | + --> $DIR/diagnostics.rs:85:21 |
33 | 33 | | |
34 | 34 | LL | let _diag = dcx.struct_err("untranslatable diagnostic"); |
35 | 35 | | ^^^^^^^^^^ |
36 | 36 |
|
37 | 37 | error: diagnostics should be created using translatable messages |
38 | | - --> $DIR/diagnostics.rs:84:21 |
| 38 | + --> $DIR/diagnostics.rs:85:21 |
39 | 39 | | |
40 | 40 | LL | let _diag = dcx.struct_err("untranslatable diagnostic"); |
41 | 41 | | ^^^^^^^^^^ |
|
0 commit comments