LL | <() as Visit>::visit();
| ^^^^^^^^^^^^^^^^^^^^ expected `&()`, found `()`
|
- = note: required because of the requirements on the impl of `Visit` for `()`
+note: required because of the requirements on the impl of `Visit` for `()`
+ --> $DIR/issue-44153.rs:13:10
+ |
+LL | impl<'a> Visit for () where
+ | ^^^^^ ^^
error: aborting due to previous error