1 // rustfmt-normalize_comments: true
4 extern crate foo as bar;
14 extern crate proc_macro;
15 extern crate proc_macro2;
18 extern crate serde; // 1.0.78
19 extern crate serde_derive; // 1.0.78
20 extern crate serde_json; // 1.0.27
23 fn c_func(x: *mut *mut libc::c_void);
26 x: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX,
27 y: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY,
39 searchMode: DeviceSearchMode,
40 pSearchString: *const c_char,
45 fn quux() -> (); // Post comment
55 pub static mut var: SomeType;
60 number: libc::c_long, // comment 1
65 fn foo(x: *const c_char, ...) -> libc::c_long;
70 filename: *const c_char,
77 const fn foo() -> *mut Bar;
78 unsafe fn foo() -> *mut Bar;
80 pub(super) const fn foo() -> *mut Bar;
81 pub(crate) unsafe fn foo() -> *mut Bar;