]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast/src/tokenstream.rs
Rollup merge of #106971 - oli-obk:tait_error, r=davidtwco
[rust.git] / compiler / rustc_ast / src / tokenstream.rs
index 29a5eb4b7c509260a9034296eec158af8abcb123..fabd43a1618a4387fa8af8680fe8a52f17af90d1 100644 (file)
@@ -258,8 +258,7 @@ pub fn to_tokenstream(&self) -> TokenStream {
 
                         assert!(
                             found,
-                            "Failed to find trailing delimited group in: {:?}",
-                            target_tokens
+                            "Failed to find trailing delimited group in: {target_tokens:?}"
                         );
                     }
                     let mut flat: SmallVec<[_; 1]> = SmallVec::new();