]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/reproducible-build/reproducible-build-aux.rs
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / run-make-fulldeps / reproducible-build / reproducible-build-aux.rs
1 #![crate_type="lib"]
2
3 pub static STATIC: i32 = 1234;
4
5 pub struct Struct<T1, T2> {
6     _t1: std::marker::PhantomData<T1>,
7     _t2: std::marker::PhantomData<T2>,
8 }
9
10 pub fn regular_fn(_: i32) {}
11
12 pub fn generic_fn<T1, T2>() {}
13
14 impl<T1, T2> Drop for Struct<T1, T2> {
15     fn drop(&mut self) {}
16 }
17
18 pub enum Enum {
19     Variant1,
20     Variant2(u32),
21     Variant3 { x: u32 }
22 }
23
24 pub struct TupleStruct(pub i8, pub i16, pub i32, pub i64);
25
26 pub trait Trait<T1, T2> {
27     fn foo(&self);
28 }