mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
12 lines
215 B
Rust
12 lines
215 B
Rust
//@ edition:2015..2021
|
|
//@ run-fail
|
|
//@ error-pattern:panicked
|
|
//@ error-pattern:test-assert-owned
|
|
//@ needs-subprocess
|
|
|
|
#![allow(non_fmt_panics)]
|
|
|
|
fn main() {
|
|
assert!(false, "test-assert-owned".to_string());
|
|
}
|