1 error[E0308]: mismatched types
2 --> $DIR/issue-50687-ice-on-borrow.rs:40:17
4 LL | let _: () = Borrow::borrow(&owned);
5 | -- ^^^^^^^^^^^^^^^^^^^^^^
7 | | expected `()`, found reference
8 | | help: consider dereferencing the borrow: `*Borrow::borrow(&owned)`
11 = note: expected unit type `()`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0308`.