]> git.lizzy.rs Git - rust.git/commit
Merge #4270
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sun, 3 May 2020 04:56:59 +0000 (04:56 +0000)
committerGitHub <noreply@github.com>
Sun, 3 May 2020 04:56:59 +0000 (04:56 +0000)
commit2474f42ae95bffea7c0bc713f92322bfec4d59a7
treeaa7eb8f934a1ce4bcd32bd106fbbd2adafef023f
parent17bd79f4978f1bf7267b54f86d676eed44af02d0
parent2fd054f276e6fd75237b476622d03eef2f18430a
Merge #4270

4270: Improve derive macro completion r=edwin0cheng a=SomeoneToIgnore

* Adds completions for standard derive macros (considering their dependencies on each other, so we don't get compile errors)
* Adds completions for custom derive macros that are in scope, if the proc macro feature is enabled in the settings
* Separates macro completion from other completions to avoid incorrect completion propositions

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>