Warn on the presence of unnecessary wildcards in output positions

This commit is contained in:
Ayaz Hafiz 2022-10-26 10:49:19 -05:00
parent d55dbbf0ae
commit cfe7c8e5ef
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
17 changed files with 151 additions and 106 deletions

View file

@ -182,6 +182,9 @@ pub enum Problem {
original_opaque: Symbol,
ability_member: Symbol,
},
UnnecessaryOutputWildcard {
region: Region,
},
}
#[derive(Clone, Debug, PartialEq)]