2022-11-13 13:10:36 +01:00
|
|
|
error: diagnostic slug and crate name do not match
|
2024-01-06 12:53:06 +01:00
|
|
|
--> $DIR/enforce_slug_naming.rs:22:8
|
2022-11-13 13:10:36 +01:00
|
|
|
|
|
2024-01-30 14:09:24 +11:00
|
|
|
LL | #[diag(compiletest_example, code = E0123)]
|
2022-11-13 13:10:36 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: slug is `compiletest_example` but the crate name is `rustc_dummy`
|
|
|
|
= help: expected a slug starting with `dummy_...`
|
|
|
|
|
2023-11-24 21:36:10 +01:00
|
|
|
error: aborting due to 1 previous error
|
2022-11-13 13:10:36 +01:00
|
|
|
|