Skip to content

Commit

Permalink
Auto merge of #36545 - Cobrand:wild-print-fix, r=sfackler
Browse files Browse the repository at this point in the history
Remove stray println! when invoking error E0316

Removed a wild println! statement that has been here for over a year and a half.

Closes #36543
  • Loading branch information
bors committed Sep 19, 2016
2 parents bfac5d6 + d8b2cfe commit 5f6f838
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc/middle/resolve_lifetime.rs
Expand Up @@ -337,7 +337,6 @@ impl<'a, 'tcx, 'v> Visitor<'v> for LifetimeContext<'a, 'tcx> {

if !self.trait_ref_hack || !trait_ref.bound_lifetimes.is_empty() {
if self.trait_ref_hack {
println!("{:?}", trait_ref.span);
span_err!(self.sess, trait_ref.span, E0316,
"nested quantification of lifetimes");
}
Expand Down

0 comments on commit 5f6f838

Please sign in to comment.