]> git.lizzy.rs Git - rust.git/blob - tests/debuginfo/auxiliary/cross_crate_spans.rs
Remove astconv usage in diagnostic
[rust.git] / tests / debuginfo / auxiliary / cross_crate_spans.rs
1 #![crate_type = "rlib"]
2
3 #![allow(unused_variables)]
4 #![feature(omit_gdb_pretty_printer_section)]
5 #![omit_gdb_pretty_printer_section]
6
7 // no-prefer-dynamic
8 // compile-flags:-g
9
10 pub fn generic_function<T: Clone>(val: T) -> (T, T) {
11     let result = (val.clone(), val.clone());
12     let a_variable: u32 = 123456789;
13     let another_variable: f64 = 123456789.5;
14     zzz();
15     result
16 }
17
18 #[inline(never)]
19 fn zzz() {()}