1
Fork 0

Rollup merge of #82236 - matthiaskrgr:useless_conv, r=jyn514

avoid converting types into themselves (clippy::useless_conversion)
This commit is contained in:
Dylan DPC 2021-02-18 16:57:40 +01:00 committed by GitHub
commit 04df75a429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 8 deletions

View file

@ -513,7 +513,7 @@ impl<'a> Parser<'a> {
token::Ident(..) if this.is_mistaken_not_ident_negation() => {
make_it!(this, attrs, |this, _| this.recover_not_expr(lo))
}
_ => return this.parse_dot_or_call_expr(Some(attrs.into())),
_ => return this.parse_dot_or_call_expr(Some(attrs)),
}
}