]> git.proxmox.com Git - rustc.git/blobdiff - tests/run-coverage-rustdoc/doctest.rs
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / run-coverage-rustdoc / doctest.rs
index 251b0c291e94d5291708ce2dbec12585d9c971d3..4006d723ce02f8ad92bba31f32e93cf48a0cbd91 100644 (file)
@@ -1,3 +1,5 @@
+// aux-build:doctest_crate.rs
+
 //! This test ensures that code from doctests is properly re-mapped.
 //! See <https://github.com/rust-lang/rust/issues/79417> for more info.
 //!
@@ -63,7 +65,7 @@
 //!     doctest_main()
 //! }
 //! ```
-// aux-build:doctest_crate.rs
+
 /// doctest attached to fn testing external code:
 /// ```
 /// extern crate doctest_crate;