Skip to content
Myr

test_backtrace.rs

This file

Path

tests/test_backtrace.rs

15 lines · 282 bytes · Rust

Last changed by

Fill in ignore reasons in all #[ignore] attributesDavid Tolnaybefore adoption5a88bc4

History of this file

Take it

1#![allow(clippy::let_underscore_untyped)]23#[rustversion::not(nightly)]4#[ignore = "requires nightly"]5#[test]6fn test_backtrace() {}78#[rustversion::nightly]9#[test]10fn test_backtrace() {11    use anyhow::anyhow;1213    let error = anyhow!("oh no!");14    let _ = error.backtrace();15}