Files
rust/tests/ui/compiletest-self-test/ui-test-missing-annotations-detection.rs

10 lines
301 B
Rust
Raw Permalink Normal View History

2025-06-27 20:45:19 +05:00
//! Regression test checks UI tests without error annotations are detected as failing.
//!
//! This tests that when we forget to use any `//~ ERROR` comments whatsoever,
//! the test doesn't succeed
//! Originally created in https://github.com/rust-lang/rust/pull/56244
2025-06-27 20:45:19 +05:00
//@ should-fail
2018-11-27 11:29:29 +01:00
fn main() {}