1 // rustfmt-normalize_comments: true
4 let y: *mut [SomeType; konst_funk()] = expr();
5 let z: (/* #digits */ usize, /* exp */ i16) = funk();
6 let z: (usize /* #digits */, i16 /* exp */) = funk();
10 f: extern "C" fn(x: u8, ... /* comment */),
11 g: extern "C" fn(x: u8, /* comment */ ...),
12 h: extern "C" fn(x: u8, ...),
16 y: String, // comment 3
23 fn issue_1006(def_id_to_string: for<'a, 'b> unsafe fn(TyCtxt<'b, 'tcx, 'tcx>, DefId) -> String) {}
25 fn impl_trait_fn_1() -> impl Fn(i32) -> Option<u8> {}
27 fn impl_trait_fn_2<E>() -> impl Future<Item = &'a i64, Error = E> {}
30 do_parse!(name: take_while1!(is_token) >> (Header))
40 Box<FnMut(&ProjectState, serde_json::Value, bool) -> () + Sync + Send>,
42 self.query_callbacks()(&query_id)
47 pub fn do_something<'a, T: Trait1 + Trait2 + 'a>(
51 impl Future<Item = (), Error = SomeError> + 'a,
52 impl Future<Item = (), Error = SomeError> + 'a,
53 impl Future<Item = (), Error = SomeError> + 'a,
59 pub fn do_something<'a, T: Trait1 + Trait2 + 'a>(
63 impl Future<Item = (), Error = SomeError> + 'a,
64 impl Future<Item = (), Error = SomeError> + 'a,
65 impl Future<Item = (), Error = SomeError> + 'a,
70 impl Future<Item = (), Error = SomeError> + 'a,
71 impl Future<Item = (), Error = SomeError> + 'a,
72 impl Future<Item = (), Error = SomeError> + 'a,
77 impl Future<Item = (), Error = SomeError> + 'a,
78 impl Future<Item = (), Error = SomeError> + 'a,
79 impl Future<Item = (), Error = SomeError> + 'a,