summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/session-diagnostic/enforce_slug_naming.stderr
blob: dcf4af5df50a7e7241ca3fda18473d2f7396c4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
error: diagnostic slug and crate name do not match
  --> $DIR/enforce_slug_naming.rs:22:8
   |
LL | #[diag(compiletest_example, code = "E0123")]
   |        ^^^^^^^^^^^^^^^^^^^
   |
   = note: slug is `compiletest_example` but the crate name is `rustc_dummy`
   = help: expected a slug starting with `dummy_...`

error: aborting due to previous error