mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
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
|
|
}
|