diff options
Diffstat (limited to 'third_party/rust/tracing-attributes/tests/ui.rs')
-rw-r--r-- | third_party/rust/tracing-attributes/tests/ui.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/tracing-attributes/tests/ui.rs b/third_party/rust/tracing-attributes/tests/ui.rs new file mode 100644 index 0000000000..f11cc019eb --- /dev/null +++ b/third_party/rust/tracing-attributes/tests/ui.rs @@ -0,0 +1,7 @@ +// 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"); +} |