We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 509b947 commit b678e92Copy full SHA for b678e92
src/test/ui/async-await/track-caller/panic-track-caller.rs
@@ -1,5 +1,8 @@
1
// run-pass
2
// edition:2021
3
+
4
+// ignore-wasm no panic or subprocess support
5
+// ignore-emscripten no panic or subprocess support
6
#![feature(closure_track_caller)]
7
8
use std::future::Future;
@@ -70,6 +73,6 @@ fn panicked_at(f: impl FnOnce() + panic::UnwindSafe) -> u32 {
70
73
}
71
74
72
75
fn main() {
- assert_eq!(panicked_at(|| block_on(foo())), 40);
- assert_eq!(panicked_at(|| block_on(foo_track_caller())), 53);
76
+ assert_eq!(panicked_at(|| block_on(foo())), 43);
77
+ assert_eq!(panicked_at(|| block_on(foo_track_caller())), 56);
78
0 commit comments