GeneratorResumedAfterReturn => "generator resumed after completion",
GeneratorResumedAfterPanic => "generator resumed after panicking",
InfiniteLoop =>
- "duplicate interpreter state observed while executing this expression, \
- const evaluation will never terminate",
+ "duplicate interpreter state observed here, const evaluation will never terminate",
}
}
}
let _ = [(); {
//~^ WARNING Constant evaluating a complex constant, this might take some time
//~| ERROR could not evaluate repeat length
- let mut n = 113383; // #20 in A006884
+ let mut n = 113383; // #20 in https://oeis.org/A006884
while n != 0 { //~ ERROR constant contains unimplemented expression type
n = if n % 2 == 0 { n/2 } else { 3*n + 1 };
}
| __________________^
LL | | //~^ WARNING Constant evaluating a complex constant, this might take some time
LL | | //~| ERROR could not evaluate repeat length
-LL | | let mut n = 113383; // #20 in A006884
+LL | | let mut n = 113383; // #20 in https://oeis.org/A006884
... |
LL | | n
LL | | }];
| __________________^
LL | | //~^ WARNING Constant evaluating a complex constant, this might take some time
LL | | //~| ERROR could not evaluate repeat length
-LL | | let mut n = 113383; // #20 in A006884
+LL | | let mut n = 113383; // #20 in https://oeis.org/A006884
LL | | while n != 0 { //~ ERROR constant contains unimplemented expression type
LL | | n = if n % 2 == 0 { n/2 } else { 3*n + 1 };
- | | ---------- duplicate interpreter state observed while executing this expression, const evaluation will never terminate
+ | | ---------- duplicate interpreter state observed here, const evaluation will never terminate
LL | | }
LL | | n
LL | | }];