about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustdoc/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/test.rs b/src/librustdoc/test.rs
index 7fa1b38bdad..5ce73d38fdf 100644
--- a/src/librustdoc/test.rs
+++ b/src/librustdoc/test.rs
@@ -184,6 +184,8 @@ fn run_test(test: &str, cratename: &str, filename: &str, cfgs: Vec<String>, libs
     // the test harness wants its own `main` & top level functions, so
     // never wrap the test in `fn main() { ... }`
     let test = make_test(test, Some(cratename), as_test_harness, opts);
+    // FIXME(#44940): if doctests ever support path remapping, then this filename
+    // needs to be the result of CodeMap::span_to_unmapped_path
     let input = config::Input::Str {
         name: filename.to_owned(),
         input: test.to_owned(),