Skip to content

Commit c5db75e

Browse files
committed
update test
1 parent e77cc50 commit c5db75e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/test/ui/error-trait/error-in-panic.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![allow(unused_imports)]
55
#![feature(core_panic)]
66
#![feature(error_in_core)]
7+
#![feature(error_in_panic)]
78

89
extern crate core;
910

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
thread 'main' panicked at 'here's my panic error message', $DIR/error-in-panic.rs:49:5
1+
thread 'main' panicked at 'here's my panic error message', $DIR/error-in-panic.rs:50:5
2+
23
Source: my source error message
34

45
Caused by:
56
my source's source error message
7+
68
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

0 commit comments

Comments
 (0)