about summary refs log tree commit diff
path: root/tests/rustdoc-js/reference.rs
blob: 93b2a6df8e6c78147b48c32df835382898a9618b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#![feature(extern_types)]

pub fn pinky(input: &usize, manage: usize) {
    unimplemented!()
}

pub struct Thumb;

impl Thumb {
    pub fn up(&self, finger: Thumb) {
        unimplemented!()
    }
}

pub enum Index {}

impl Index {
    pub fn point(self, data: &Index) {
        unimplemented!()
    }
}

pub union Ring {
    magic: u32,
    marriage: f32,
}

impl Ring {
    pub fn wear(&mut self, extra: &Ring) {
        unimplemented!()
    }
}

extern "C" {
    pub type Middle;
}

pub fn show(left: &&mut Middle, right: &mut &Middle) {
    unimplemented!()
}