Ran
|
Jobs
1
|
Files
855
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Fix future rustc lint rule on named lifetime elision (#13197) (#13199) This commit fixes a future lint rule that will appear in future version of the rust compiler. The new rule will raise a warning at compile time if the code used an elided lifetime resolves to a named lifetime. While this typically would only cause an issue in unsafe rust, it can cause a confusing error message in cases when using functions like this in a safe context. This fixes the code violating this future rule to get ahead of any potential errors when compiling with a release of Rust from the near future. This rule is documented here: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint/builtin/static.ELIDED_NAMED_LIFETIMES.html (cherry picked from commit 12ecea752) Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2 of 2 new or added lines in 1 file covered. (100.0%)
17 existing lines in 3 files now uncovered.66876 of 74508 relevant lines covered (89.76%)
217888.75 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
88.39 |
-0.36% | qiskit/transpiler/passes/synthesis/unitary_synthesis.py |
3 |
92.98 |
0.5% | crates/qasm2/src/lex.rs |
12 |
96.69 |
-0.92% | crates/qasm2/src/parse.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 10964920105.1 | 855 |
89.76 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|