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
Copy file name to clipboardExpand all lines: src/test/ui/consts/const_short_circuit.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error: new features like let bindings are not permitted in constants which also
4
4
LL | let mut x = true && false;
5
5
| ^^^^^
6
6
|
7
-
note: use of `&&` operator here
7
+
note: use of `&&` operator here does not actually short circuit due to the const evaluator presently not being able to do control flow. See https://github.com/rust-lang/rust/issues/49146 for more information.
8
8
--> $DIR/const_short_circuit.rs:6:22
9
9
|
10
10
LL | let mut x = true && false;
@@ -16,7 +16,7 @@ error: new features like let bindings are not permitted in constants which also
16
16
LL | let x = true && false;
17
17
| ^
18
18
|
19
-
note: use of `&&` operator here
19
+
note: use of `&&` operator here does not actually short circuit due to the const evaluator presently not being able to do control flow. See https://github.com/rust-lang/rust/issues/49146 for more information.
0 commit comments