We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c1160d commit 853e9d1Copy full SHA for 853e9d1
tests/target/issue_6215.rs
@@ -0,0 +1,9 @@
1
+cfg_if!(
2
+ if #[cfg(feature = "xxxx")] {
3
+ if #[cfg(feature = "yyyy")] {
4
+ pub const C1: u8 = 1;
5
+ } else {
6
+ pub const C2: u8 = 2;
7
+ }
8
9
+);
0 commit comments