1 // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
13 pub static STATIC: i32 = 1234;
15 pub struct Struct<T1, T2> {
16 _t1: std::marker::PhantomData<T1>,
17 _t2: std::marker::PhantomData<T2>,
20 pub fn regular_fn(_: i32) {}
22 pub fn generic_fn<T1, T2>() {}
24 impl<T1, T2> Drop for Struct<T1, T2> {
34 pub struct TupleStruct(pub i8, pub i16, pub i32, pub i64);
36 pub trait Trait<T1, T2> {