Panicking Proxy
's methods should print the source location of a caller
#75
Labels
A-test
Area: The elfo-test crate.
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
E.g. if
Proxy::recv()
is timed out, a message is printed with the location pointing toelfo-test/src/proxy.rs
instead of the location of a caller.We cannot just use the
#[track_caller]
attribute onasync fn
(rust-lang/rust#78840). However, it's possible to getLocation
outside an async block and then add to a panic message.The text was updated successfully, but these errors were encountered: