# Rust-analyzer not working properly

**URL:** <https://internals.rust-lang.org/t/rust-analyzer-not-working-properly/17687>\
**Category:** tools and infrastructure\
**Created:** [November 5, 2022, 5:34pm UTC](https://internals.rust-lang.org/t/rust-analyzer-not-working-properly/17687 "2022-11-05T17:34:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hydroper1](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/hydroper1/32/12099_2.png) [@hydroper1](https://internals.rust-lang.org/u/hydroper1)\
**Post date:** [November 5, 2022, 5:34pm UTC](https://internals.rust-lang.org/t/rust-analyzer-not-working-properly/17687/1 "2022-11-05T17:34:42Z")

</div>

I've a workspace and for sometime my modules were type-checked properly. Then out of a sudden if I reassign, say, a variable to an incompatible type, the IDE doesn't say anything.

I've closed the IDE, reran `cargo clean`, deleted `Cargo.lock` and nothing! Here's the workspace: [GitHub - rialight/rialight: SDK for creating RIAs robustly](https://github.com/rialight/rialight)

For example, you can go to `api/rialight_filesystem/src/path_helpers.rs` and reassign anything to wrong type: IDE doesn't draw any problems. Is this a bug?

---

<div class="post-metadata">

**Author:** ![ehuss](https://avatars.discourse-cdn.com/v4/letter/e/9de0a6/32.png) [@ehuss](https://internals.rust-lang.org/u/ehuss)\
**Post date:** [November 6, 2022, 9:24pm UTC](https://internals.rust-lang.org/t/rust-analyzer-not-working-properly/17687/2 "2022-11-06T21:24:06Z")

</div>

This may not be the best forum to ask your question. This forum is for discussion about the design and implementation of Rust, not for bug reports or for support. You may have better luck with the [Users Forum](https://users.rust-lang.org/).

The rust-analyzer user guide has a section on troubleshooting that may be a good place to start: [User Manual](https://rust-analyzer.github.io/manual.html#troubleshooting). If you are unable to find an answer, filing an issue at [Issues · rust-lang/rust-analyzer · GitHub](https://github.com/rust-lang/rust-analyzer/issues/) with a reproduction may help.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [February 4, 2023, 9:24pm UTC](https://internals.rust-lang.org/t/rust-analyzer-not-working-properly/17687/3 "2023-02-04T21:24:44Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
