1 2 3 4 5 6 7
struct A; #[test] #[should_panic] fn twice_managed_state() { let _ = rocket::build().manage(A).manage(A); }