Rollup merge of #126888 - compiler-errors:oops-debug-printing, r=dtolnay · rust-lang/rust@b94d275 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit b94d275

Rollup merge of #126888 - compiler-errors:oops-debug-printing, r=dtolnay

Remove stray println from rustfmt's `rewrite_static` r? `@calebcartwright` `@ytmimi` -- though anyone should probably r+ this so it gets into nightly sooner than later, since it's obviously wrong. This can just be fixed in-tree, since I don't think we want to wait until the next sync to fix this.Fix rust-lang/rustfmt#6210 Fix #126887

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -1994,7 +1994,6 @@ fn rewrite_static(
1994 1994 static_parts: &StaticParts<'_>,
1995 1995 offset: Indent,
1996 1996 ) -> Option<String> {
1997 -println!("rewriting static");
1998 1997 let colon = colon_spaces(context.config);
1999 1998 let mut prefix = format!(
2000 1999 "{}{}{}{} {}{}{}",