8 lines
192 B
Rust
8 lines
192 B
Rust
// Regression test for #89388.
|
|
|
|
fn main() {
|
|
let option: Option<&[u8]> = Some(b"...");
|
|
let _ = option.map([_]::to_vec);
|
|
//~^ ERROR: missing angle brackets in associated item path
|
|
}
|