diff options
| -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::*; |
