Skip to content

Commit

Permalink
Fix tidy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Oct 25, 2018
1 parent 098c659 commit fa444be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc/traits/auto_trait.rs
Expand Up @@ -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;
Expand Down

0 comments on commit fa444be

Please sign in to comment.