]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/static.rs
:arrow_up: rust-analyzer
[rust.git] / src / tools / rustfmt / tests / target / static.rs
1 const FILE_GENERIC_READ: DWORD =
2     STANDARD_RIGHTS_READ | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA | SYNCHRONIZE;
3
4 static boolnames: &'static [&'static str] = &[
5     "bw", "am", "xsb", "xhp", "xenl", "eo", "gn", "hc", "km", "hs", "in", "db", "da", "mir",
6     "msgr", "os", "eslok", "xt", "hz", "ul", "xon", "nxon", "mc5i", "chts", "nrrmc", "npc",
7     "ndscr", "ccc", "bce", "hls", "xhpa", "crxm", "daisy", "xvpa", "sam", "cpix", "lpix", "OTbs",
8     "OTns", "OTnc", "OTMT", "OTNL", "OTpt", "OTxr",
9 ];
10
11 static mut name: SomeType =
12     aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
13
14 pub static count: u8 = 10;
15
16 pub const test: &Type = &val;
17
18 impl Color {
19     pub const WHITE: u32 = 10;
20 }
21
22 // #1391
23 pub const XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX: NTSTATUS =
24     0 as usize;
25
26 pub const XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:
27     Yyyyyyyyyyyyyyyyyyyyyyyyyyyy = 1;