3 fn foo(a: AAAA, b: BBB, c: CCC) -> RetType {}
5 fn foo(a: AAAA, b: BBB /* some, weird, inline comment */, c: CCC) -> RetType
11 fn foo(a: AAA /* (comment) */)
18 a: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
19 b: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
28 a: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
29 b: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
38 fn foo<U: Fn(A) -> B /* paren inside generics */>() {}
41 fn with_no_errors<T, F>(&mut self, f: F) -> T
43 F: FnOnce(&mut Resolver) -> T,
47 fn foo(mut self, mut bar: u32) {}
49 fn bar(self, mut bazz: u32) {}
56 G: Labeller<'a, N, E> + GraphWalk<'a, N, E>,
62 render_opts(g, w, &[])
79 fn homura<T: Deref<Target = i32>>(_: T) {}
81 fn issue377() -> (Box<CompositorProxy + Send>, Box<CompositorReceiver>) {}
84 let _ = function(move || 5);
86 let _ = || unsafe { abort() };
89 // With inner attributes.
95 #[cfg_attr(rustfmt, rustfmt::skip)]
96 fn foo(a: i32) -> i32 {
98 if a > 0 { 1 } else { 2 }
101 fn ______________________baz(
103 ) -> *mut ::std::option::Option<
104 extern "C" fn(arg1: i32, _____________________a: i32, arg3: i32) -> (),
108 pub fn check_path<'a, 'tcx>(
109 tcx: TyCtxt<'a, 'tcx, 'tcx>,
112 cb: &mut FnMut(DefId, Span, &Option<&Stability>, &Option<Depecation>),
116 pub fn check_path<'a, 'tcx>(
117 tcx: TyCtxt<'a, 'tcx, 'tcx>,
120 cb: &mut FnMut(DefId, Span, &Option<&Stability>, &Option<Deprecation>),