False "Sized trait" inspection errors with Rust
I'm having an issue with Clion that started all of a sudden, possibly when I upgraded the nightly (to 2020-10-25).
The integrated compiler is showing errors like this one: the trait bound MyEnum: Sized is not satisfied [E0277] the trait Sized is not implemented for MyEnum on impl Default for MyEnum where pub enum MyEnum { Foo, Bar }.
I get multiple of those seemingly random errors. The compiler itself does not raise those when I build from the cargo command.
There are other false errors like "use of moved value" after variables are sent to the println macro. It seems like the Clion compiler has become "dumb", maybe not aware of parts of the std.
Also, TODOs are no longer picked by the inspector.
请先登录再写评论。
Hello!
Do you see any errors if you call "Refresh Cargo Projects" in the Build tool window?