I am running latest Rust plugin on IntelliJ.
For some reason, this feature seems to have "disappeared." I am wondering if anyone else has run into this issue:
-
We are editing crate-foo.
-
crate-foo/Carto.toml includes crate-bar
-
crate-bar public exports Bar1, Bar2, Bar3
-
crate-foo/lib.rs has
use crate-bar::Bar1
(but not Bar2, Bar3) -
someone else in crate-foo/some-other-file.rs, we have a piece of code that looks like
let x: Vec<Bar2> = ...
-
Note, Bar2 has not been imported yet.
-
In previous IntelliJ Rust vesions, the
Bar2
would be in dark red. I would put the cursor over it, hit alt-enter -> import -> and IntelliJ would auto insert a "use crate-bar::Bar2" at the top of the current *.rs file. -
This seems to no longer happen.
Anyone else run into this issue?