]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/comment-inside-const.rs
Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix
[rust.git] / src / tools / rustfmt / tests / target / comment-inside-const.rs
1 fn issue982() {
2     const SOME_CONSTANT: u32 =
3         // Explanation why SOME_CONSTANT needs FLAG_A to be set.
4         FLAG_A |
5         // Explanation why SOME_CONSTANT needs FLAG_B to be set.
6         FLAG_B |
7         // Explanation why SOME_CONSTANT needs FLAG_C to be set.
8         FLAG_C;
9 }