Rocket/core/lib/tests/twice_managed_state.rs

8 lines
113 B
Rust

struct A;
#[test]
#[should_panic]
fn twice_managed_state() {
let _ = rocket::build().manage(A).manage(A);
}