-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
'rustc' panicked at 'failed to create span for type arguments' #54052
Comments
Probably related: rust-lang/rust-clippy#2306 |
Edit I'll close this. By the stacktrace it seems to be cause by a clippy plugin:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
this code leads to a panic in the compiler with cargo clippy:
I did put the code in a small repo:
git clone https://github.com/PSeitz/span_err
cargo clippy
(I don't know how to see all compiler flags from clippy for the rustc command)note: rustc 1.30.0-nightly (f8d3459 2018-08-30) running on x86_64-unknown-linux-gnu
note: compiler flags: -C debuginfo=2 -C incremental --crate-type lib
The text was updated successfully, but these errors were encountered: