1 error[E0283]: type annotations needed
2 --> $DIR/issue-80816.rs:49: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:35: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 {
20 help: try using a fully qualified path to specify the expected types
22 LL | let guard: Guard<Arc<usize>> = <Arc<ArcSwapAny<Arc<usize>>> as Access<T>>::load(&s);
23 | ++++++++++++++++++++++++++++++++++++++++++++++++++ ~
25 error: aborting due to previous error
27 For more information about this error, try `rustc --explain E0283`.