diff --git a/crates/proc-macro-srv/src/abis/abi_sysroot/ra_server/token_stream.rs b/crates/proc-macro-srv/src/abis/abi_sysroot/ra_server/token_stream.rs index 7de30e73928..d091d431900 100644 --- a/crates/proc-macro-srv/src/abis/abi_sysroot/ra_server/token_stream.rs +++ b/crates/proc-macro-srv/src/abis/abi_sysroot/ra_server/token_stream.rs @@ -65,7 +65,7 @@ fn extend>(&mut self, streams: I) { for tkn in item { match tkn { tt::TokenTree::Subtree(subtree) - if subtree.delimiter.kind != tt::DelimiterKind::Invisible => + if subtree.delimiter.kind == tt::DelimiterKind::Invisible => { self.token_trees.extend(subtree.token_trees); }