We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
discoverConfig.
discoverConfig
.rust-project.json
linked_projects
Edition 2024 support.
A way to avoid exploding the size of rust-project.json with thousands of cfgs defined repeatedly per crate.
rust-project.json
cfg
Support .rust-project.json (i.e. hidden).
include!(concat!(env!("OBJTREE"), "/..._generated.rs"));
bindings::*
include*!(expr)
expr
#[path = "..."]
unresolved import
Features that we would like to see
Required (we almost certainly want them)
discoverConfig..rust-project.json(i.e. hidden) rust-lang/rust-analyzer#17816 (comment).linked_projectsrust-lang/rust-analyzer#17246.Edition 2024 support.
Nice to have (not critical, we could workaround if needed, etc.)
Low priority (we will likely not use them in the end)
Done (stabilized, fixed, not needed anymore, etc.)
A way to avoid exploding the size of
rust-project.jsonwith thousands ofcfgs defined repeatedly per crate.cfgs for given crates (cfggroups) rust-lang/rust-analyzer#17815.discoverConfigsupport (and we replace completelyrust-project.json-- see also a few notes at Support.rust-project.json(i.e. hidden) rust-lang/rust-analyzer#17816 (comment)), then we would not need this anymore, and rust-analyzer will likely remove it: feat: Allow declaring cfg groups in rust-project.json, to help sharing common cfgs rust-lang/rust-analyzer#17857 (comment).Support
.rust-project.json(i.e. hidden)..rust-project.json(i.e. hidden) rust-lang/rust-analyzer#17816.Bugs that we would like to see fixed
Required (we almost certainly want them)
include!(concat!(env!("OBJTREE"), "/..._generated.rs"));bindings::*for out of tree builds #1050.include*!(expr), whereexpris not a string literal rust-lang/rust-analyzer#15836.Nice to have (probably not critical, we could workaround if needed, etc.)
#[path = "..."].unresolved importfor some `#[path = ".."] rust-lang/rust-analyzer#3898.Low priority (we will likely not use them in the end)
Done (stabilized, fixed, or not needed anymore, etc.)