☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
new_debug_unreachable
/
tests
/
check.rs
☽
☼
.cargo/vendor/new_debug_unreachable/tests/check.rs
code
plain
raw
GPL-2
1998-2015, Sourcefire, Inc.; 2002-2007, Tomasz Kojm <
[email protected]
>; 2006, Sensory Networks, Inc; 2007-2015, Cisco Systems, Inc; 2014-2018, Cisco and/or its affiliates
debian/copyright
1
#[test]
2
#[should_panic]
3
#[cfg(debug_assertions)]
4
fn explodes_in_debug() {
5
use debug_unreachable::debug_unreachable;
6
unsafe { debug_unreachable!() }
7
}