summaryrefslogtreecommitdiffstats
path: root/src/test/ui/mismatched_types/issue-47706-trait.rs
blob: 8fb4e0855687d0f620f21d7c0963f969c7c051d0 (plain)
1
2
3
4
5
6
7
8
trait T {
    fn f(&self, _: ()) {
        None::<()>.map(Self::f);
    }
    //~^^ ERROR function is expected to take a single 0-tuple as argument
}

fn main() {}