]> git.lizzy.rs Git - rust.git/commitdiff
Merge #2311
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 18 Dec 2019 16:44:35 +0000 (16:44 +0000)
committerGitHub <noreply@github.com>
Wed, 18 Dec 2019 16:44:35 +0000 (16:44 +0000)
2311: See through Macros for SignatureHelp r=matklad a=kjeremy

Note: we meed to skip the trivia filter to make sure that
`covers!(call_info_bad_offset)` succeeds otherwise we exit call_info
too early.

Also the test doesn't pass: `FnCallNode::with_node` always detects
a MacroCall which is obviously wrong.

Fixes #2310

Co-authored-by: kjeremy <kjeremy@gmail.com>
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>

Trivial merge