debian/rust-vendor/rustversion/tests/test_eval.rs
raw| 1 | #[rustversion::any( |
| 2 | stable, |
| 3 | stable(1.34), |
| 4 | stable(1.34.0), |
| 5 | beta, |
| 6 | nightly, |
| 7 | nightly(2020-02-25), |
| 8 | since(1.34), |
| 9 | since(2020-02-25), |
| 10 | before(1.34), |
| 11 | before(2020-02-25), |
| 12 | not(nightly), |
| 13 | all(stable, beta, nightly), |
| 14 | )] |
| 15 | fn success() {} |
| 16 | |
| 17 | #[test] |
| 18 | fn test() { |
| 19 | success(); |
| 20 | } |