Commit 810f30e
committed
Silence clippy
It's generated code
```
error: unnecessary structure name repetition
--> /home/runner/work/prism/prism/rust/target/debug/build/ruby-prism-sys-c00cbfa68640095d/out/bindings.rs:2303:26
|
2303 | pub subsequent: *mut pm_rescue_node,
| ^^^^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#use_self
= note: `-D clippy::use-self` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::use_self)]`
error: unnecessary structure name repetition
--> /home/runner/work/prism/prism/rust/target/debug/build/ruby-prism-sys-c00cbfa68640095d/out/bindings.rs:2582:20
|
2582 | pub next: *mut pm_list_node,
| ^^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#use_self
error: unnecessary structure name repetition
--> /home/runner/work/prism/prism/rust/target/debug/build/ruby-prism-sys-c00cbfa68640095d/out/bindings.rs:2712:20
|
2712 | pub prev: *mut pm_lex_mode,
| ^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#use_self
error: unnecessary structure name repetition
--> /home/runner/work/prism/prism/rust/target/debug/build/ruby-prism-sys-c00cbfa68640095d/out/bindings.rs:2775:20
|
2775 | pub prev: *mut pm_context_node,
| ^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#use_self
error: unnecessary structure name repetition
--> /home/runner/work/prism/prism/rust/target/debug/build/ruby-prism-sys-c00cbfa68640095d/out/bindings.rs:2845:24
|
2845 | pub previous: *mut pm_scope,
| ^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#use_self
```1 parent f31a040 commit 810f30e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments