a423b307e6
9744: fix: Annotate type hints for pattern name ranges instead of the pattern itself r=Veykril a=Veykril The current type hints do not go well with `bindings_after_at` which is likely to land with 1.56(https://github.com/rust-lang/rust/pull/85305 🎉very excited for this), hence annotate the names of ident patterns instead of the entire pattern. This changes where the typehints go for ident patterns that use @ bindings, some example comparisons: Before: ![Code_82ILMppkve](https://user-images.githubusercontent.com/3757771/127741276-e1dd173b-2964-4df0-abae-860283b2e1be.png) After: ![Code_tPttN2rJpw](https://user-images.githubusercontent.com/3757771/127741277-e7fc2836-4f31-4c45-a3a9-69cbff3d52d9.png) This change has no visible effect on patterns without ``@`` bindings. Co-authored-by: Lukas Wirth <lukastw97@gmail.com>