Debian Codegraph @

tests/fixtures/invalid/struct-unknown-attribute-multiple.rs

raw symbols SCIP
1 use daft::Diffable;
2
3 #[derive(Diffable)]
4 #[daft(ignore, leaf, leaf)]
5 struct MyStruct {
6 a: i32,
7 b: String,
8 }
9
10 fn main() {
11 // MyStruct should still exist, even though the Diffable impl couldn't be
12 // generated.
13 let _ = MyStruct { a: 0, b: "foo".to_string() };
14 }