File: dummy.rs

package info (click to toggle)
rust-proc-macro-error2 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 129 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
use test_crate::*;

enum NeedDefault {
    A,
    B,
}

dummy!(need_default);

fn main() {
    let _ = NeedDefault::default();
}