summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/full-path-function.rs
blob: 8dcc3f2b69d843bce000fe3d379ca617dcc11ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod sac {
    pub struct Sac;

    impl Sac {
        pub fn len(&self) -> usize { 0 }
    }
}

pub mod b {
    pub struct Sac;
    impl Sac {
        pub fn len(&self) -> usize { 0 }
        pub fn bar(&self, w: u32) -> usize { 0 }
        pub fn bar2(&self, w: u32) -> u32 { 0 }
        pub fn string(w: String) -> u32 { 0 }
    }
}