rust-analyzer/crates/ide
Chayim Refael Friedman bffc169925 Fix a failing test
The reason this test passed previously is not because it was working as intended, but because prior to the previous commit we did not resolve the `use` at all!

Now, `use self as _` is invalid code anyway (it prints E0429), and because we fallback to the value namespace if we can't resolve in the type namespace (which is a reasonable behavior), this test now actually fails.

I don't think we want to change the fallback, so I removed `use self as _` and instead added a new test, where the value can be resolved in the type namespace.
2025-02-04 19:10:04 +02:00
..
src Fix a failing test 2025-02-04 19:10:04 +02:00
Cargo.toml Move text-edit into ide-db 2024-10-28 14:37:41 +01:00