Commit fc66e89
committed
Yeast: silence warning
```
warning: hiding a lifetime that's elided elsewhere is confusing
--> external/ql+/shared/yeast/src/lib.rs:495:17
|
495 | pub fn walk(&self) -> AstCursor {
| ^^^^^ ^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
495 | pub fn walk(&self) -> AstCursor<'_> {
| ++++
warning: 1 warning emitted
```1 parent 876f68b commit fc66e89
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| |||
0 commit comments