1 error[E0283]: type annotations needed: cannot satisfy `(&'static (), &'a ()): A`
2 --> $DIR/region-overlap.rs:5:10
4 LL | impl<'a> A for (&'static (), &'a ()) {}
7 note: multiple `impl`s satisfying `(&'static (), &'a ()): A` found
8 --> $DIR/region-overlap.rs:5:1
10 LL | impl<'a> A for (&'static (), &'a ()) {}
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 LL | impl<'a> A for (&'a (), &'static ()) {}
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error[E0283]: type annotations needed: cannot satisfy `(&'a (), &'static ()): A`
16 --> $DIR/region-overlap.rs:6:10
18 LL | impl<'a> A for (&'a (), &'static ()) {}
21 note: multiple `impl`s satisfying `(&'a (), &'static ()): A` found
22 --> $DIR/region-overlap.rs:5:1
24 LL | impl<'a> A for (&'static (), &'a ()) {}
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 LL | impl<'a> A for (&'a (), &'static ()) {}
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29 error: aborting due to 2 previous errors
31 For more information about this error, try `rustc --explain E0283`.