rust-analyzer / rust-analyzer.github.io

https://rust-analyzer.github.io/
87 stars 51 forks source link

auto completion for 'fn' does not work when there is no curly bracket '{ }' on the 'fn' above #192

Closed lenardlopez closed 1 year ago

lenardlopez commented 1 year ago

VS Code 1.74.1 Rust-analyzer v0.3.1317 Rust 1.65.0

Example below to simulate the issue. But if I add curly bracket '{ }' on 'fn' 'struct' auto complete works.

2022-12-17 13 04 54

flodiebold commented 1 year ago

This repo is for the rust-analyzer website. Can you report this at https://github.com/rust-lang/rust-analyzer?

lenardlopez commented 1 year ago

Ok. Thanks!