Skip to content

No type hint and no formatting #19059

Closed
@rcitsz

Description

@rcitsz

rust-analyzer v0.3.2282
rustc 1.83.0 (90b35a623 2024-11-26)
vscode version 1.94

no custom relevant settings, all vscode config is default.

my code as follows:

 // Cannot recognize join, and there are no type hints for vals, but rust-analyzer v0.3.2273 is normal.
 let vals = [“xxx”,"yyy"].iter().map(|v| v.to_string()).collect::<Vec<_>>().join(",");

// Formating not work
async fn fx() {
   let res = async {
       // here is my code,  but formating not work
   }.await;
}

// if do this, formating is ok
async fn fx() {
   let res = async {
       // here is my code,  formating work
   };
  res.awiat;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions