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