Fix help on unknown::module error.

This commit is contained in:
KtorZ 2023-01-29 10:34:12 +01:00
parent 2523816813
commit b3fc2d51cf
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ Perhaps, try the following:
#[diagnostic(code("unknown::module"))]
#[diagnostic(help(
"{}",
suggest_neighbor(name, imported_modules.iter(), "Did you forget to import it?")
suggest_neighbor(name, imported_modules.iter(), "Did you forget to add a package as dependency?")
))]
UnknownModule {
#[label]