| 1 | // Only test on nightly, since UI tests are bound to change over time |
|---|---|
| 2 | #[rustversion::stable] |
| 3 | #[test] |
| 4 | fn async_instrument() { |
| 5 | let t = trybuild::TestCases::new(); |
| 6 | t.compile_fail("tests/ui/async_instrument.rs"); |
| 7 | } |
| 8 | |
| 9 | #[rustversion::stable] |
| 10 | #[test] |
| 11 | fn const_instrument() { |
| 12 | let t = trybuild::TestCases::new(); |
| 13 | t.compile_fail("tests/ui/const_instrument.rs"); |
| 14 | } |
| 15 |
