question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False errors being highlighted after 0.4.170 plugin update

See original GitHub issue

Environment

  • IntelliJ Rust plugin version: 0.4.170.5627-221
  • Rust toolchain version:
rustc 1.60.0 (7737e0b5c 2022-04-04)
rustup 1.24.3 (ce5817a94 2021-05-31)
cargo 1.60.0 (d1fd9fe2c 2022-03-01)
  • IDE name and version:
 CLion 2022.1.1
Build #CL-221.5591.52, built on May 10, 2022
Runtime version: 11.0.14.1+1-b2043.45 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2000M
Cores: 12
Registry:
    run.processes.with.pty=TRUE
    ide.balloon.shadow.size=0

Non-Bundled Plugins:
    org.rust.lang (0.4.170.4627-221)
    com.github.lppedd.idea-conventional-commit (0.20.1)
    Key Promoter X (2022.1.2)
  • Operating system:
Windows 11 Home Version 21H2
Build: 2000.675 

Problem description

New version of Rust plugin points various errors even if cargo check says everything is OK. image

Steps to reproduce

To reproduce, I believe that will be just open the code with the specified CLion and Rust plugin.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Undincommented, May 17, 2022

@Azgrom @fujiapple852 It would be great to see your logs. See these instruction how to collect them

@Azgrom it looks like something happened with info about stdlib. As a result, the plugin doesn’t know that primitive types implement Copy and produces Cannot move error. Try to Invalidate caches

@fujiapple852 your error looks different. So it would be nice to get some code to reproduce your problem

0reactions
Azgromcommented, May 26, 2022

Update on the issue:

Since my last comment on this thread I had to invalidate cache 3 times because of a moved value error being erroneously highlighted…

It just happens to appear while I am coding

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error & warning colors unreadable with coc plugin #191 - GitHub
What happened Error & warning are very hard to read with coc plugin. ... autocmd to make sure customized highlight works after color...
Read more >
Today's updated / Website Error | WordPress.org
Be sure to clear any caching and optimization plugins on the site after updating to make sure the new plugin files are being...
Read more >
Syntax and Error Highlighting | IntelliJ Platform Plugin SDK
The class used to specify how a particular range of text should be highlighted is called TextAttributesKey . An instance of this class...
Read more >
An Error in the System, Update Module, or Plug-in Manager ...
Perform the following steps: Open Registry Editor and go to HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\OfficeScan\ service\AoS\OSCE_Addon_Service_CompList_Version.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found