about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Wolff <fabian.wolff@alumni.ethz.ch>2021-06-26 22:43:27 +0200
committerFabian Wolff <fabian.wolff@alumni.ethz.ch>2021-06-26 22:43:27 +0200
commite8ebf98742a46aef11d382d5cbad3d9bb9098b19 (patch)
tree23c42945efaa62691eee0ccac5488f7335773e35
parenta8b57723d41d5f8b58bc4796ecb4bde0ed00e639 (diff)
downloadrust-e8ebf98742a46aef11d382d5cbad3d9bb9098b19.tar.gz
rust-e8ebf98742a46aef11d382d5cbad3d9bb9098b19.zip
Reorder some lines in `unpretty-expr-fn-arg.rs`
-rw-r--r--src/test/ui/unpretty-expr-fn-arg.rs10
-rw-r--r--src/test/ui/unpretty-expr-fn-arg.stdout10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/test/ui/unpretty-expr-fn-arg.rs b/src/test/ui/unpretty-expr-fn-arg.rs
index fd8eee44a9f..6e1132a3372 100644
--- a/src/test/ui/unpretty-expr-fn-arg.rs
+++ b/src/test/ui/unpretty-expr-fn-arg.rs
@@ -1,11 +1,11 @@
 // Regression test for the ICE described in #82328. The pretty-printer for
-// compile-flags: -Zunpretty=hir,typed
-// would previously retrieve type-checking results when entering a body,
-// which means that type information was not available for expressions
-// occurring in function signatures, as in the `foo` example below, leading
-// to an ICE.
+// `-Zunpretty=hir,typed` would previously retrieve type-checking results
+// when entering a body, which means that type information was not available
+// for expressions occurring in function signatures, as in the `foo` example
+// below, leading to an ICE.
 
 // check-pass
+// compile-flags: -Zunpretty=hir,typed
 #![allow(dead_code)]
 
 fn main() {}
diff --git a/src/test/ui/unpretty-expr-fn-arg.stdout b/src/test/ui/unpretty-expr-fn-arg.stdout
index aa6ea4a8f97..cb04dfead73 100644
--- a/src/test/ui/unpretty-expr-fn-arg.stdout
+++ b/src/test/ui/unpretty-expr-fn-arg.stdout
@@ -1,11 +1,11 @@
 // Regression test for the ICE described in #82328. The pretty-printer for
-// compile-flags: -Zunpretty=hir,typed
-// would previously retrieve type-checking results when entering a body,
-// which means that type information was not available for expressions
-// occurring in function signatures, as in the `foo` example below, leading
-// to an ICE.
+// `-Zunpretty=hir,typed` would previously retrieve type-checking results
+// when entering a body, which means that type information was not available
+// for expressions occurring in function signatures, as in the `foo` example
+// below, leading to an ICE.
 
 // check-pass
+// compile-flags: -Zunpretty=hir,typed
 #![allow(dead_code)]
 #[prelude_import]
 use ::std::prelude::rust_2015::*;