You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value of the repeat expression is not a constant, so (according to 6.8:18) the repeat expression should be evaluated 9 times, leading to nine debug traces being printed on the program output.
However, rustc prints only one debug trace:
Compiling playground v0.0.1 (/playground)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s
Running `target/debug/playground`
[src/main.rs:2:5]
<END OF OUTPUT>
The text was updated successfully, but these errors were encountered:
Let's consider the following code snippet:
Playground link
The value of the repeat expression is not a constant, so (according to 6.8:18) the repeat expression should be evaluated 9 times, leading to nine debug traces being printed on the program output.
However,
rustc
prints only one debug trace:The text was updated successfully, but these errors were encountered: