File: ui.rs

package info (click to toggle)
rust-tracing-attributes 0.1.27-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 416 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Only test on nightly, since UI tests are bound to change over time
/*#[rustversion::stable]
#[test]
fn async_instrument() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/async_instrument.rs");
}*/

#[rustversion::stable]
#[test]
fn const_instrument() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/const_instrument.rs");
}