]> git.lizzy.rs Git - rust.git/commit
Merge #4996
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sat, 11 Jul 2020 09:51:31 +0000 (09:51 +0000)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2020 09:51:31 +0000 (09:51 +0000)
commit6c1546c3a495785cf293dbbfb7f65ea124602528
treedfad676d6188fcd77e7f7e2c913c74368178557b
parent0366a85052904c5c6efa3b3ecddc35dce85337c4
parent43079ba80d79a75851f64ffc68d60711191f8307
Merge #4996

4996: Correctly generate new struct field in file containing struct def r=matklad a=TimoFreiberg

WIP because the test doesn't pass.
Testing the fix by hand looked good, although quickfixes seem to not support setting the editor cursor yet, which i think we want for "generate missing defs from usage" fixes.

Co-authored-by: Timo Freiberg <timo.freiberg@gmail.com>