You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is probably worth opening an issue against the Rust compiler, if you haven't already. We should be able to use cargo expand to get the output that the instrument macro expands to here, and try to minimize that to the smallest code necessary to trigger the ICE.
I'm seeing the same behavior with a very similar bit of code (Also missing a close paren):
use tracing::instrument;
struct Al;
impl Al {
#[instrument]
fn ox(&mut self {
}
}
Tracing version: 0.1.27
I attempt to use cargo expand to see what is being generated, and that also panic's rustc without giving me any generated output.
Bug Report
Version
tracing = "0.1"
Description
This code (playground):
Causes an ICE that's not present without
#[tracing::instrument]
.Output:
The text was updated successfully, but these errors were encountered: