]> git.lizzy.rs Git - rust.git/commitdiff
Add a test for #3583
authortopecongiro <seuchida@gmail.com>
Mon, 27 May 2019 15:03:42 +0000 (00:03 +0900)
committertopecongiro <seuchida@gmail.com>
Mon, 27 May 2019 15:03:42 +0000 (00:03 +0900)
tests/source/macros.rs
tests/target/macros.rs

index 66012e4d69d4dcbc04ef094e00472d4d8a5f97ce..ef5b1efa5b9672ba225123132cfb29b912ba4dca 100644 (file)
@@ -475,3 +475,6 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {
 // #3463
 x ! {()}
 x ! y {()}
+
+// #3583
+foo!(|x = y|);
index 8f86b79f9225e8870fc7c1632ed03464fd1da5c1..f19b5d11feef7627b924ca5a123718dc12c69421 100644 (file)
@@ -1052,3 +1052,6 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {
 // #3463
 x! {()}
 x! y {()}
+
+// #3583
+foo!(|x = y|);