1 error[E0271]: type mismatch resolving `<() as Array>::Element == &()`
2 --> $DIR/issue-44153.rs:18:5
5 | ---------- required by `Visit::visit`
7 LL | <() as Visit>::visit();
8 | ^^^^^^^^^^^^^^^^^^^^ expected (), found &()
10 = note: expected type `()`
12 = note: required because of the requirements on the impl of `Visit` for `()`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0271`.