rust/tests/ui/parser/issues/issue-89388.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
192 B
Rust
Raw Normal View History

// 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
}