fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0271]: type mismatch resolving `for<'a> <() as Array<'a>>::Element == ()` 2 --> $DIR/issue-39970.rs:19:5 3 | 4LL | fn visit() {} 5 | ---------- required by `Visit::visit` 6... 7LL | <() as Visit>::visit(); 8 | ^^^^^^^^^^^^^^^^^^^^ expected `&()`, found `()` 9 | 10 = note: required because of the requirements on the impl of `Visit` for `()` 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0271`.