We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c2c38 commit 66b152cCopy full SHA for 66b152c
src/test/ui/if-attrs/gate-whole-expr.rs
@@ -1,15 +1,15 @@
1
// run-pass
2
3
fn main() {
4
- let x = 1;
+ let x = 1;
5
6
- #[cfg(FALSE)]
7
- if false {
8
- x = 2;
9
- } else if true {
10
- x = 3;
11
- } else {
12
- x = 4;
13
- }
14
- assert_eq!(x, 1);
+ #[cfg(FALSE)]
+ if false {
+ x = 2;
+ } else if true {
+ x = 3;
+ } else {
+ x = 4;
+ }
+ assert_eq!(x, 1);
15
}
0 commit comments