Skip to content

Commit 5f6f838

Browse files
authored
Auto merge of #36545 - Cobrand:wild-print-fix, r=sfackler
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
2 parents bfac5d6 + d8b2cfe commit 5f6f838

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc/middle/resolve_lifetime.rs

-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ impl<'a, 'tcx, 'v> Visitor<'v> for LifetimeContext<'a, 'tcx> {
337337

338338
if !self.trait_ref_hack || !trait_ref.bound_lifetimes.is_empty() {
339339
if self.trait_ref_hack {
340-
println!("{:?}", trait_ref.span);
341340
span_err!(self.sess, trait_ref.span, E0316,
342341
"nested quantification of lifetimes");
343342
}

0 commit comments

Comments
 (0)