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,
27 a: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
28 b: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
36 fn foo<U: Fn(A) -> B /* paren inside generics */>() {}
39 fn with_no_errors<T, F>(&mut self, f: F) -> T
41 F: FnOnce(&mut Resolver) -> T,
45 fn foo(mut self, mut bar: u32) {}
47 fn bar(self, mut bazz: u32) {}
54 G: Labeller<'a, N, E> + GraphWalk<'a, N, E>,
60 render_opts(g, w, &[])
77 fn homura<T: Deref<Target = i32>>(_: T) {}
79 fn issue377() -> (Box<CompositorProxy + Send>, Box<CompositorReceiver>) {}
82 let _ = function(move || 5);
84 let _ = || unsafe { abort() };
87 // With inner attributes.
93 #[cfg_attr(rustfmt, rustfmt::skip)]
94 fn foo(a: i32) -> i32 {
96 if a > 0 { 1 } else { 2 }
99 fn ______________________baz(
101 ) -> *mut ::std::option::Option<
102 extern "C" fn(arg1: i32, _____________________a: i32, arg3: i32) -> (),
106 pub fn check_path<'a, 'tcx>(
107 tcx: TyCtxt<'a, 'tcx, 'tcx>,
110 cb: &mut FnMut(DefId, Span, &Option<&Stability>, &Option<Depecation>),
114 pub fn check_path<'a, 'tcx>(
115 tcx: TyCtxt<'a, 'tcx, 'tcx>,
118 cb: &mut FnMut(DefId, Span, &Option<&Stability>, &Option<Deprecation>),