summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/auxiliary/source-code-bar.rs
blob: 8700d688ef7e25f85ef025bf7d2a99d6d45eec7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! just some other file. :)

use crate::Foo;

pub struct Bar {
    field: Foo,
}

pub struct Bar2 {
    field: crate::Foo,
}

pub mod sub {
    pub trait Trait {
        fn tadam() {}
    }
}