summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-89388.rs
blob: 9153c071e8e1a5926beb63f00e136ac323db044f (plain)
1
2
3
4
5
6
7
// 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
}