diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs index 6265fe462d..0a7e50c4e2 100644 --- a/crates/ra_mbe/src/syntax_bridge.rs +++ b/crates/ra_mbe/src/syntax_bridge.rs @@ -58,10 +58,6 @@ where return Err(ExpandError::ConversionError); } - if tree_sink.roots.len() != 1 { - return Err(ExpandError::ConversionError); - } - Ok(tree_sink.inner.finish()) }