Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
panics
/
test-should-panic-no-message.rs
blob: 05fc927d876b578a607eeeb6e9ed6cf87d3f10e8 [
file
] [
log
] [
blame
]
//@ run-fail
//@ compile-flags: --test
//@ check-stdout
//@ needs-subprocess
#[
test
]
#[
should_panic
(
expected
=
"foo"
)]
pub
fn
test_explicit
()
{
panic
!()
}