Skip to content

Commit 85e56e8

Browse files
committed
Remove out-of-date comment.
It was added in 51938c6, a commit with a 7,720 line diff and a one line commit message. Even then the comment was incorrect; there was a removed a `build_output_filenames` call with a `&[]` argument in rustdoc, but the commit removed that call. In such a large commit, it's easy for small errors to occur.
1 parent 371f972 commit 85e56e8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_interface/src/passes.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,7 @@ fn output_filenames(tcx: TyCtxt<'_>, (): ()) -> Arc<OutputFilenames> {
602602
let (_, krate) = &*tcx.resolver_for_lowering(()).borrow();
603603
let crate_name = tcx.crate_name(LOCAL_CRATE);
604604

605-
// FIXME: rustdoc passes &[] instead of &krate.attrs here
606605
let outputs = util::build_output_filenames(&krate.attrs, sess);
607-
608606
let output_paths =
609607
generated_output_paths(tcx, &outputs, sess.io.output_file.is_some(), crate_name);
610608

0 commit comments

Comments
 (0)