Debian Codegraph @

debian/missing-sources/derive_more/tests/compile_fail/from/legacy_struct_attribute.rs

raw
1 #[derive(derive_more::From)]
2 #[from(types(i32, "&str"))]
3 struct Foo {
4 foo: String,
5 bar: String,
6 }
7
8 fn main() {}