1 // rustfmt-normalize_comments: true
2 #![feature(exclusive_range_pattern)]
8 ( ref x, ref mut y /*comment*/) => 2,
11 if let < T as Trait > :: CONST = ident {
15 let Some ( ref xyz /* comment! */) = opt;
17 if let None = opt2 { panic!("oh noes"); }
20 let a::foo ( ..) = 42;
24 let [a, b, c, d,e,f, g] = 42;
27 let foo { x, y: ref foo, .. } = 42;
28 let foo { x, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy: ref foo, .. } = 42;
29 let foo { x, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy: ref foo, } = 42;
30 let foo { x, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy: ref foo, .. };
31 let foo { x, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy: ref foo, };
41 impl<'a,'b> ResolveGeneratedContentFragmentMutator<'a,'b> {
42 fn mutate_fragment(&mut self, fragment: &mut Fragment) {
44 GeneratedContentInfo::ContentItem(
53 if let (Event { .. }, .. ) = ev_state {}
62 fn combine_patterns() {