rust/tests/pretty/issue-68710-field-attr-proc-mac-lost.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
203 B
Rust
Raw Normal View History

2020-02-01 17:45:03 +00:00
// pp-exact
2021-12-01 19:45:14 +00:00
fn main() {}
2020-02-01 17:45:03 +00:00
struct C {
field: u8,
}
#[allow()]
const C: C =
C {
#[cfg(debug_assertions)]
field: 0,
2020-02-01 17:45:03 +00:00
#[cfg(not(debug_assertions))]
field: 1,
};