We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a29b68f + 38fa66a commit 7f7fa97Copy full SHA for 7f7fa97
src/test/ui/weird-exprs.rs
@@ -1,6 +1,7 @@
1
// run-pass
2
3
#![feature(generators)]
4
+#![feature(destructuring_assignment)]
5
6
#![allow(non_camel_case_types)]
7
#![allow(dead_code)]
@@ -159,6 +160,11 @@ fn match_nested_if() {
159
160
assert!(val);
161
}
162
163
+fn monkey_barrel() {
164
+ let val = ()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=()=();
165
+ assert_eq!(val, ());
166
+}
167
+
168
pub fn main() {
169
strange();
170
funny();
@@ -177,4 +183,5 @@ pub fn main() {
177
183
r#match();
178
184
i_yield();
179
185
match_nested_if();
186
+ monkey_barrel();
180
187
0 commit comments