fix: Bring back hovering call parens for return type info

This commit is contained in:
Lukas Wirth 2023-02-15 18:58:59 +01:00
parent 23fc596e40
commit e550e553e0
3 changed files with 53 additions and 1 deletions

View file

@ -186,7 +186,7 @@ impl SourceFile {
/// ```
#[macro_export]
macro_rules! match_ast {
(match $node:ident { $($tt:tt)* }) => { match_ast!(match ($node) { $($tt)* }) };
(match $node:ident { $($tt:tt)* }) => { $crate::match_ast!(match ($node) { $($tt)* }) };
(match ($node:expr) {
$( $( $path:ident )::+ ($it:pat) => $res:expr, )*