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,
29 a: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
30 b: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
39 fn foo<U: Fn(A) -> B /* paren inside generics */>() {}
42 fn with_no_errors<T, F>(&mut self, f: F) -> T
44 F: FnOnce(&mut Resolver) -> T,
48 fn foo(mut self, mut bar: u32) {}
50 fn bar(self, mut bazz: u32) {}
57 G: Labeller<'a, N, E> + GraphWalk<'a, N, E>,
63 render_opts(g, w, &[])
80 fn homura<T: Deref<Target = i32>>(_: T) {}
82 fn issue377() -> (Box<CompositorProxy + Send>, Box<CompositorReceiver>) {}
85 let _ = function(move || 5);
87 let _ = || unsafe { abort() };
90 // With inner attributes.
96 #[cfg_attr(rustfmt, rustfmt_skip)]
97 fn foo(a: i32) -> i32 {
99 if a > 0 { 1 } else { 2 }
102 fn ______________________baz(
104 ) -> *mut ::std::option::Option<
105 extern "C" fn(arg1: i32, _____________________a: i32, arg3: i32) -> (),
109 pub fn check_path<'a, 'tcx>(
110 tcx: TyCtxt<'a, 'tcx, 'tcx>,
113 cb: &mut FnMut(DefId, Span, &Option<&Stability>, &Option<Depecation>),
117 pub fn check_path<'a, 'tcx>(
118 tcx: TyCtxt<'a, 'tcx, 'tcx>,
121 cb: &mut FnMut(DefId, Span, &Option<&Stability>, &Option<Deprecation>),