Skip to content

Commit e8ebf98

Browse files
committed
Reorder some lines in unpretty-expr-fn-arg.rs
1 parent a8b5772 commit e8ebf98

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/test/ui/unpretty-expr-fn-arg.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Regression test for the ICE described in #82328. The pretty-printer for
2-
// compile-flags: -Zunpretty=hir,typed
3-
// would previously retrieve type-checking results when entering a body,
4-
// which means that type information was not available for expressions
5-
// occurring in function signatures, as in the `foo` example below, leading
6-
// to an ICE.
2+
// `-Zunpretty=hir,typed` would previously retrieve type-checking results
3+
// when entering a body, which means that type information was not available
4+
// for expressions occurring in function signatures, as in the `foo` example
5+
// below, leading to an ICE.
76

87
// check-pass
8+
// compile-flags: -Zunpretty=hir,typed
99
#![allow(dead_code)]
1010

1111
fn main() {}

src/test/ui/unpretty-expr-fn-arg.stdout

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Regression test for the ICE described in #82328. The pretty-printer for
2-
// compile-flags: -Zunpretty=hir,typed
3-
// would previously retrieve type-checking results when entering a body,
4-
// which means that type information was not available for expressions
5-
// occurring in function signatures, as in the `foo` example below, leading
6-
// to an ICE.
2+
// `-Zunpretty=hir,typed` would previously retrieve type-checking results
3+
// when entering a body, which means that type information was not available
4+
// for expressions occurring in function signatures, as in the `foo` example
5+
// below, leading to an ICE.
76

87
// check-pass
8+
// compile-flags: -Zunpretty=hir,typed
99
#![allow(dead_code)]
1010
#[prelude_import]
1111
use ::std::prelude::rust_2015::*;

0 commit comments

Comments
 (0)