Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
vendor
/
anyhow-1.0.75
/
tests
/
test_backtrace.rs
blob: c89559e6719d9b718f5a636c16a0375bfdf72fa8 [
file
] [
log
] [
blame
]
#![
allow
(
clippy
::
let_underscore_untyped
)]
#[
rustversion
::
not
(
nightly
)]
#[
ignore
]
#[
test
]
fn
test_backtrace
()
{}
#[
rustversion
::
nightly
]
#[
test
]
fn
test_backtrace
()
{
use
anyhow
::
anyhow
;
let
error
=
anyhow
!(
"oh no!"
);
let
_
=
error
.
backtrace
();
}