rust/tests/ui-fulldeps/session-diagnostic/enforce_slug_naming.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
372 B
Plaintext
Raw Normal View History

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