]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const_short_circuit.rs
Rollup merge of #81697 - xfix:every-doc-alias, r=Mark-Simulacrum
[rust.git] / src / test / ui / consts / const_short_circuit.rs
1 // check-pass
2
3 const _: bool = false && false;
4 const _: bool = true && false;
5 const _: bool = {
6     let mut x = true && false;
7     x
8 };
9 const _: bool = {
10     let x = true && false;
11     x
12 };
13
14 fn main() {}