hir_ty: add tests around autoderef with visibility checking
hir_ty: add tests around autoderef with visibility checking

rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer