Skip to content

Commit

Permalink
Reorder some lines in unpretty-expr-fn-arg.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianWolff committed Jun 26, 2021
1 parent a8b5772 commit e8ebf98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/test/ui/unpretty-expr-fn-arg.rs
Original file line number Diff line number Diff line change
@@ -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() {}
Expand Down
10 changes: 5 additions & 5 deletions src/test/ui/unpretty-expr-fn-arg.stdout
Original file line number Diff line number Diff line change
@@ -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::*;
Expand Down

0 comments on commit e8ebf98

Please sign in to comment.