Fix tidy error
This commit is contained in:
parent
098c659276
commit
fa444be81d
1 changed files with 3 additions and 1 deletions
|
|
@ -342,7 +342,9 @@ impl<'a, 'tcx> AutoTraitFinder<'a, 'tcx> {
|
|||
// we immediately bail out, since it's impossible for us to continue'
|
||||
match vtable {
|
||||
Vtable::VtableImpl(VtableImplData { impl_def_id, .. }) => {
|
||||
if infcx.tcx.impl_polarity(*impl_def_id) == hir::ImplPolarity::Negative {
|
||||
// Blame tidy for the weird bracket placement
|
||||
if infcx.tcx.impl_polarity(*impl_def_id) == hir::ImplPolarity::Negative
|
||||
{
|
||||
debug!("evaluate_nested_obligations: Found explicit negative impl\
|
||||
{:?}, bailing out", impl_def_id);
|
||||
return None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue