1 error[E0283]: type annotations needed
2 --> $DIR/issue-80816.rs:50:38
4 LL | let guard: Guard<Arc<usize>> = s.load();
7 note: multiple `impl`s satisfying `ArcSwapAny<Arc<usize>>: Access<_>` found
8 --> $DIR/issue-80816.rs:36:1
10 LL | impl<T> Access<T> for ArcSwapAny<T> {
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 LL | impl<T> Access<T> for ArcSwapAny<Arc<T>> {
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 note: required for `Arc<ArcSwapAny<Arc<usize>>>` to implement `Access<_>`
16 --> $DIR/issue-80816.rs:31:45
18 LL | impl<T, A: Access<T>, P: Deref<Target = A>> Access<T> for P {
19 | --------- ^^^^^^^^^ ^
21 | unsatisfied trait bound introduced here
22 help: try using a fully qualified path to specify the expected types
24 LL | let guard: Guard<Arc<usize>> = <Arc<ArcSwapAny<Arc<usize>>> as Access<T>>::load(&s);
25 | ++++++++++++++++++++++++++++++++++++++++++++++++++ ~
27 error: aborting due to previous error
29 For more information about this error, try `rustc --explain E0283`.