diff options
| author | Fabian Wolff <fabian.wolff@alumni.ethz.ch> | 2021-06-26 22:43:27 +0200 |
|---|---|---|
| committer | Fabian Wolff <fabian.wolff@alumni.ethz.ch> | 2021-06-26 22:43:27 +0200 |
| commit | e8ebf98742a46aef11d382d5cbad3d9bb9098b19 (patch) | |
| tree | 23c42945efaa62691eee0ccac5488f7335773e35 | |
| parent | a8b57723d41d5f8b58bc4796ecb4bde0ed00e639 (diff) | |
| download | rust-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.rs | 10 | ||||
| -rw-r--r-- | src/test/ui/unpretty-expr-fn-arg.stdout | 10 |
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::*; |
