File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
// 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.
7
6
8
7
// check-pass
8
+ // compile-flags: -Zunpretty=hir,typed
9
9
#![ allow( dead_code) ]
10
10
11
11
fn main ( ) { }
Original file line number Diff line number Diff line change 1
1
// 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.
7
6
8
7
// check-pass
8
+ // compile-flags: -Zunpretty=hir,typed
9
9
#![allow(dead_code)]
10
10
#[prelude_import]
11
11
use ::std::prelude::rust_2015::*;
You can’t perform that action at this time.
0 commit comments