racer-rust / racer

Rust Code Completion utility
MIT License
3.36k stars 278 forks source link

#[allow(...)] completions need closing parenthesis and brace #1150

Open mqudsi opened 3 years ago

mqudsi commented 3 years ago

rls is unable to complete linter allow hints without a closing parenthesis and brace, but is able to complete them otherwise.

i.e. this works:

#[allow(̲̯ )]

but this doesn`t

#[allow(̲̯ 

(In case it's not rendered correctly, the completion is triggered at the same location immediately after the opening ( in both samples.)