Fix help on unknown::module error.
This commit is contained in:
parent
2523816813
commit
b3fc2d51cf
|
@ -466,7 +466,7 @@ Perhaps, try the following:
|
||||||
#[diagnostic(code("unknown::module"))]
|
#[diagnostic(code("unknown::module"))]
|
||||||
#[diagnostic(help(
|
#[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 {
|
UnknownModule {
|
||||||
#[label]
|
#[label]
|
||||||
|
|
Loading…
Reference in New Issue