-
Notifications
You must be signed in to change notification settings - Fork 791
ICE with instrument #1472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Huh. That's interesting! I think this is probably worth opening an issue against the Rust compiler, if you haven't already. We should be able to use |
I'm seeing the same behavior with a very similar bit of code (Also missing a close paren):
Tracing version: It fails with nightly, beta, and stable compiler options. |
This might possibly be the issue: rust-lang/rust#80447 |
Compiler bug that has been fixed (probably long ago). |
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: