let mut error = tcx.sess.struct_span_err(
span,
&format!(
- "new features like let bindings are not permitted in {} \
+ "new features like let bindings are not permitted in {}s \
which also use short circuiting operators",
mode,
),
-error: new features like let bindings are not permitted in constant which also use short circuiting operators
+error: new features like let bindings are not permitted in constants which also use short circuiting operators
--> $DIR/const_short_circuit.rs:6:9
|
LL | let mut x = true && false;
LL | let mut x = true && false;
| ^^
-error: new features like let bindings are not permitted in constant which also use short circuiting operators
+error: new features like let bindings are not permitted in constants which also use short circuiting operators
--> $DIR/const_short_circuit.rs:11:9
|
LL | let x = true && false;