]> git.lizzy.rs Git - rust.git/blob - tests/ui/mismatched_types/issue-47706-trait.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / mismatched_types / issue-47706-trait.rs
1 trait T {
2     fn f(&self, _: ()) {
3         None::<()>.map(Self::f);
4     }
5     //~^^ ERROR function is expected to take a single 0-tuple as argument
6 }
7
8 fn main() {}