]> git.lizzy.rs Git - rust.git/blob - src/test/ui/closures/coerce-unsafe-to-closure.rs
Rollup merge of #89235 - yaahc:junit-formatting, r=kennytm
[rust.git] / src / test / ui / closures / coerce-unsafe-to-closure.rs
1 fn main() {
2     let x: Option<&[u8]> = Some("foo").map(std::mem::transmute);
3     //~^ ERROR E0277
4 }