diff options
Diffstat (limited to 'src/test/ui/mismatched_types/issue-47706-trait.rs')
-rw-r--r-- | src/test/ui/mismatched_types/issue-47706-trait.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/mismatched_types/issue-47706-trait.rs b/src/test/ui/mismatched_types/issue-47706-trait.rs deleted file mode 100644 index 8fb4e0855..000000000 --- a/src/test/ui/mismatched_types/issue-47706-trait.rs +++ /dev/null @@ -1,8 +0,0 @@ -trait T { - fn f(&self, _: ()) { - None::<()>.map(Self::f); - } - //~^^ ERROR function is expected to take a single 0-tuple as argument -} - -fn main() {} |