This is a quick way to implement unresolved reference diagnostics.
For example, adding to VS Code config
"editor.tokenColorCustomizationsExperimental": {
"unresolvedReference": "#FF0000"
},
will highlight all unresolved refs in red.
|
||
|---|---|---|
| .. | ||
| src | ||
| tests/heavy_tests | ||
| build.rs | ||
| Cargo.toml | ||