summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-6458-2.rs
blob: b18cae3ed1ac8f943cbcd5bb3243ca474015c7a8 (plain)
1
2
3
4
5
fn main() {
    // Unconstrained type:
    format!("{:?}", None);
    //~^ ERROR type annotations needed [E0282]
}