File: unknown-attribute.rs

package info (click to toggle)
rust-derivative 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 724 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 256 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(feature = "use_core")]
extern crate core;

#[macro_use]
extern crate derivative;

#[derive(Derivative)]
#[derivative(Clone = "does_not_exist")]
struct Foo;

#[derive(Derivative)]
#[derivative(Clone(does_not_exist = "true"))]
struct Bar;

fn main() {}