I32 primitive type missing methods completion in IDEA

I am learning Rust by reading the Book.

I have noticed some methods are missing in IDEA completion list.
For example is_positive() does not show up for the i32 primitive type.

Is it a bug?
It seems that only methods implemented from Traits are appearing in the list.

Thanks for your help.

I would advise you to report this on a jetbrains bug reporting site. Since jetbrains IDEs don't use rust analyzer but implement their own tools there is nothing that can really be done by the rust community.

1 Like

Thanks. That's what I intended to do at first but I wanted to see if others in the Rust community have encountered the same issue.
I just created an issue on GitHub intellij-rust repository.