about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-map-file/foo.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-29 15:01:33 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-31 21:30:08 +1000
commit3079bd96b94fda7acba3161bd53719576224a210 (patch)
tree68b926486007d27b18a48b3e422926918bbcabee /tests/run-make/rustdoc-map-file/foo.rs
parent70bc0c5b204375e3efe1572689356bf99a9f4e9d (diff)
downloadrust-3079bd96b94fda7acba3161bd53719576224a210.tar.gz
rust-3079bd96b94fda7acba3161bd53719576224a210.zip
Run rustfmt on `tests/run-make/`.
With the exception of `tests/run-make/translation/test.rs`, which has a
syntax error.

The expected output in `rustdoc-error-lines/rmake.rs`'s required slight
tweaking.

The two `reproducible-build.rs` files need `// ignore-tidy-linelength`
because rustfmt produces lines longer than 100 chars, which tidy doesn't
like, yuk.
Diffstat (limited to 'tests/run-make/rustdoc-map-file/foo.rs')
-rw-r--r--tests/run-make/rustdoc-map-file/foo.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/rustdoc-map-file/foo.rs b/tests/run-make/rustdoc-map-file/foo.rs
index e12b9d2292c..f98543f9b05 100644
--- a/tests/run-make/rustdoc-map-file/foo.rs
+++ b/tests/run-make/rustdoc-map-file/foo.rs
@@ -1,5 +1,5 @@
-pub use private::Quz;
 pub use hidden::Bar;
+pub use private::Quz;
 
 mod private {
     pub struct Quz;
@@ -12,5 +12,5 @@ pub mod hidden {
 
 #[macro_export]
 macro_rules! foo {
-    () => {}
+    () => {};
 }