This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 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
1111fn main ( ) { }
Original file line number Diff line number Diff line change 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]
1111use ::std::prelude::rust_2015::*;
You can’t perform that action at this time.
0 commit comments