3 ms·
Atom with linter-rust highlights compile errors: http://i.imgur.com/ac7FTpW.png http://i.imgur.com/ac7FTpW.png Or do you have a more specific visualisation for
by kam 11y ago
Atom with linter-rust highlights compile errors: http://i.imgur.com/ac7FTpW.png http://i.imgur.com/ac7FTpW.png
Or do you have a more specific visualisation for moves/ownership in mind?
- vaibhavkul 11y agoDidn't know about linter-rust. Thanks for sharing. It didn't occur to me that: ownership transfer means variable cannot be used, so if it's used means there's an error, so checking for error itself gives you the information that you cannot use it. So highlighting error can be used instead of the specific ownership transfer. I don't know of any other specific cases where there's no error, but it would be helpful to have a different color for certain ownership semantics.