Skip to content

Commit fa444be

Browse files
committed
Fix tidy error
1 parent 098c659 commit fa444be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc/traits/auto_trait.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@ impl<'a, 'tcx> AutoTraitFinder<'a, 'tcx> {
342342
// we immediately bail out, since it's impossible for us to continue'
343343
match vtable {
344344
Vtable::VtableImpl(VtableImplData { impl_def_id, .. }) => {
345-
if infcx.tcx.impl_polarity(*impl_def_id) == hir::ImplPolarity::Negative {
345+
// Blame tidy for the weird bracket placement
346+
if infcx.tcx.impl_polarity(*impl_def_id) == hir::ImplPolarity::Negative
347+
{
346348
debug!("evaluate_nested_obligations: Found explicit negative impl\
347349
{:?}, bailing out", impl_def_id);
348350
return None;

0 commit comments

Comments
 (0)