2022-06-25 12:42:23 -05:00
|
|
|
error[E0283]: type annotations needed: cannot satisfy `(&'static (), &'a ()): A`
|
2023-01-12 14:15:00 -06:00
|
|
|
--> $DIR/region-overlap.rs:5:16
|
2021-08-18 09:27:25 -05:00
|
|
|
|
|
|
|
|
LL | impl<'a> A for (&'static (), &'a ()) {}
|
2023-01-12 14:15:00 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2021-08-18 09:27:25 -05:00
|
|
|
|
|
2021-10-01 08:05:17 -05:00
|
|
|
note: multiple `impl`s satisfying `(&'static (), &'a ()): A` found
|
|
|
|
--> $DIR/region-overlap.rs:5:1
|
|
|
|
|
|
|
|
|
LL | impl<'a> A for (&'static (), &'a ()) {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
LL | impl<'a> A for (&'a (), &'static ()) {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-08-18 09:27:25 -05:00
|
|
|
|
2022-06-25 12:42:23 -05:00
|
|
|
error[E0283]: type annotations needed: cannot satisfy `(&'a (), &'static ()): A`
|
2023-01-12 14:15:00 -06:00
|
|
|
--> $DIR/region-overlap.rs:6:16
|
2021-08-18 09:27:25 -05:00
|
|
|
|
|
|
|
|
LL | impl<'a> A for (&'a (), &'static ()) {}
|
2023-01-12 14:15:00 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2021-08-18 09:27:25 -05:00
|
|
|
|
|
2021-10-01 08:05:17 -05:00
|
|
|
note: multiple `impl`s satisfying `(&'a (), &'static ()): A` found
|
|
|
|
--> $DIR/region-overlap.rs:5:1
|
|
|
|
|
|
|
|
|
LL | impl<'a> A for (&'static (), &'a ()) {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
LL | impl<'a> A for (&'a (), &'static ()) {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-08-18 09:27:25 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|