pub-fields/tests/tests.rs
Sam Johnson 2054845649
working
2023-07-05 09:56:56 -04:00

15 lines
229 B
Rust

mod submod {
use pub_fields::pub_fields;
#[pub_fields]
pub struct MyStruct {
a: usize,
b: usize,
c: usize,
}
}
#[test]
fn test_it() {
let x = submod::MyStruct { a: 3, b: 4, c: 5 };
}