]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass-fulldeps/issue-35829.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / test / run-pass-fulldeps / issue-35829.rs
index 0a4c15a9236b9bc6042b4f510b228a119aed5e95..f17a0494a69c48d9e4d8b6acf39cc3df6086962f 100644 (file)
@@ -41,8 +41,8 @@ fn main() {
     let raw_byte_string_lit_kind = LitKind::ByteStr(Rc::new(b"#\"two\"#".to_vec()));
     assert_eq!(raw_byte_string.node, ExprKind::Lit(P(dummy_spanned(raw_byte_string_lit_kind))));
 
-    // check dotdotdot
-    let closed_range = quote_expr!(&cx, 0 ... 1);
+    // check dotdoteq
+    let closed_range = quote_expr!(&cx, 0 ..= 1);
     assert_eq!(closed_range.node, ExprKind::Range(
         Some(quote_expr!(&cx, 0)),
         Some(quote_expr!(&cx, 1)),