diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2018-10-25 15:32:59 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2018-10-25 15:32:59 -0400 |
| commit | fa444be81d9acf9d99adcbc930da144e89480515 (patch) | |
| tree | a10cf90ec357ac277cda6cfbec0b253322e54325 | |
| parent | 098c659276d60fff7e0f225e1d6bc7d05591319e (diff) | |
| download | rust-fa444be81d9acf9d99adcbc930da144e89480515.tar.gz rust-fa444be81d9acf9d99adcbc930da144e89480515.zip | |
Fix tidy error
| -rw-r--r-- | src/librustc/traits/auto_trait.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc/traits/auto_trait.rs b/src/librustc/traits/auto_trait.rs index 1600634a199..e5d7b5d5e94 100644 --- a/src/librustc/traits/auto_trait.rs +++ b/src/librustc/traits/auto_trait.rs @@ -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; |
