REVISFeaturesVisualize lifetime-related Rust compiler errors. This extension focuses on errors with a "timeline" that can be visualized. RequirementsThe extension needs the diagnostics information from rust-analyzer.
Install the VSCode extension rust-analyzer and add the following to
The configuration can be automatically set when you use the extension for the first time.
Just click "Allow" when the warning prompt appears.
The configuration will be added to How to useRight-pointing red triangles will be displayed for supported errors after the source file is saved.
To display/hide the visualization, move the text cursor to the line with the red triangle and execute command NoteThis extension is still in an early stage. Please file an issue or contact Ruochen (wangrc@ucsd.edu) if you find any bugs/confusing points. |