blob: 952223c09b9ea1742f9a7083c10147d7f0ce459b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![allow(dead_code, unused_imports)]
#[macro_use]
extern crate derive_more;
#[derive(Index)]
struct MyVec(Vec<i32>);
#[derive(Index)]
struct Numbers {
#[index]
numbers: Vec<i32>,
useless: bool,
}
|