]> git.lizzy.rs Git - rust.git/commitdiff
Merge #10846
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 23 Nov 2021 21:22:27 +0000 (21:22 +0000)
committerGitHub <noreply@github.com>
Tue, 23 Nov 2021 21:22:27 +0000 (21:22 +0000)
10846: fix: qualify struct name in struct constructor completion r=Veykril a=andrewleverette

* Alter `add_struct_literal` method signature to take an optional module path
* Update `render_literal` method to use a qualified

Relates to issue #10771

Side note: This is my first contribution. Any feedback is welcome!

Co-authored-by: Andrew Leverette <andrewleverette@gmail.com>

Trivial merge