Debian Codegraph @

tests/fixtures/valid/generic-struct.rs

raw symbols SCIP
1 // Check that no-std works.
2 #![no_std]
3
4 use daft::Diffable;
5
6 #[derive(Debug, Eq, PartialEq, Diffable)]
7 struct StructWithGenerics<'d, 'e, T, U>
8 where
9 T: daft::Diffable + 'd + ?Sized,
10 U: daft::Diffable + 'e + ?Sized,
11 {
12 b: usize,
13 c: &'d T,
14 d: &'e U,
15 }
16
17 fn main() {}