]> git.lizzy.rs Git - rust.git/blob - tests/ui/marker_trait_attr/region-overlap.stderr
Re-add #[allow(unused)] attr
[rust.git] / tests / ui / marker_trait_attr / region-overlap.stderr
1 error[E0283]: type annotations needed: cannot satisfy `(&'static (), &'a ()): A`
2   --> $DIR/region-overlap.rs:5:10
3    |
4 LL | impl<'a> A for (&'static (), &'a ()) {}
5    |          ^
6    |
7 note: multiple `impl`s satisfying `(&'static (), &'a ()): A` found
8   --> $DIR/region-overlap.rs:5:1
9    |
10 LL | impl<'a> A for (&'static (), &'a ()) {}
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 LL | impl<'a> A for (&'a (), &'static ()) {}
13    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 error[E0283]: type annotations needed: cannot satisfy `(&'a (), &'static ()): A`
16   --> $DIR/region-overlap.rs:6:10
17    |
18 LL | impl<'a> A for (&'a (), &'static ()) {}
19    |          ^
20    |
21 note: multiple `impl`s satisfying `(&'a (), &'static ()): A` found
22   --> $DIR/region-overlap.rs:5:1
23    |
24 LL | impl<'a> A for (&'static (), &'a ()) {}
25    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 LL | impl<'a> A for (&'a (), &'static ()) {}
27    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
29 error: aborting due to 2 previous errors
30
31 For more information about this error, try `rustc --explain E0283`.