rust/tests/run-make-fulldeps/split-debuginfo/foo.rs
2023-01-11 09:32:08 +00:00

16 lines
173 B
Rust

pub struct Foo {
x: u32,
}
impl Foo {
pub fn print(&self) {
println!("{}", self.x);
}
}
pub fn make_foo(x: u32) -> Foo {
Foo { x }
}
fn main() {}