]> git.lizzy.rs Git - rust.git/blob - tests/ui/unpretty-expr-fn-arg.stdout
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / ui / unpretty-expr-fn-arg.stdout
1 // Regression test for the ICE described in #82328. The pretty-printer for
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.
6
7 // check-pass
8 // compile-flags: -Zunpretty=hir,typed
9 #![allow(dead_code)]
10 #[prelude_import]
11 use ::std::prelude::rust_2015::*;
12 #[macro_use]
13 extern crate std;
14
15 fn main() ({ } as ())
16
17 fn foo((-(128 as i8) as i8)...(127 as i8): i8) ({ } as ())