rust-lang / rust-lang/rust-analyzer
Tracking issue for removing `#[salsa::interned(no_lifetime)]`
Open
@ada4a is already working on this.
Since Jul 23, 2026.
C-tracking-issue
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
@Veykril said:
Another thing (also from the salsa migration) is the fact hat we currently use
#[salsa::interned(.., no_lifetime)]in a bunch of places.no_lifetimeis a hack that we also need to remove at some point, but the issue with that is that this infests a lot of places with lifetimes, so we need to incrementally start adding lifetimes where required until we at some point can remove theseno_lifetimeuses.
Steps/History
- (https://github.com/rust-lang/rust-analyzer/pull/20897)
- https://github.com/rust-lang/rust-analyzer/pull/22548
-
InternedOpaqueId(https://github.com/rust-lang/rust-analyzer/pull/22611) -
BuiltinDeriveImplId(https://github.com/rust-lang/rust-analyzer/pull/23060) -
EditionedFileId -
MacroCallId -
impl_intern!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.