Removed old ComponentPool trait #8
cargo test (ubuntu-20.04)
There are 0 failures, 27 warnings, and 0 notice.
Details
Results
Compile result
Type | Count |
---|---|
error: internal compiler error | 0 |
error | 0 |
warning | 27 |
failure-note | 0 |
note | 0 |
help | 0 |
Annotations
Check warning on line 102 in codegen/src/clear.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `no_clear`
warning: unused variable: `no_clear`
--> codegen/src/clear.rs:102:13
|
102 | let no_clear = v.attrs.iter().any(|v| {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_clear`
|
= note: `#[warn(unused_variables)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(unused_variables)]` on by default",
"rendered": null,
"spans": []
},
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 3681,
"byte_start": 3673,
"column_end": 21,
"column_start": 13,
"expansion": null,
"file_name": "codegen/src/clear.rs",
"is_primary": true,
"label": null,
"line_end": 102,
"line_start": 102,
"suggested_replacement": "_no_clear",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 21,
"highlight_start": 13,
"text": " let no_clear = v.attrs.iter().any(|v| {"
}
]
}
]
}
]
Check warning on line 124 in codegen/src/clear.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `no_clear`
warning: unused variable: `no_clear`
--> codegen/src/clear.rs:124:13
|
124 | let no_clear = f.attrs.iter().any(|v| {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_clear`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 4493,
"byte_start": 4485,
"column_end": 21,
"column_start": 13,
"expansion": null,
"file_name": "codegen/src/clear.rs",
"is_primary": true,
"label": null,
"line_end": 124,
"line_start": 124,
"suggested_replacement": "_no_clear",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 21,
"highlight_start": 13,
"text": " let no_clear = f.attrs.iter().any(|v| {"
}
]
}
]
}
]
Check warning on line 55 in codegen/src/dispatch.rs
github-actions / cargo test (ubuntu-20.04)
method `to_index` is never used
warning: method `to_index` is never used
--> codegen/src/dispatch.rs:55:12
|
40 | impl FieldName {
| -------------- method in this implementation
...
55 | pub fn to_index(&self) -> usize {
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(dead_code)]` on by default",
"rendered": null,
"spans": []
}
]
Check warning on line 102 in codegen/src/clear.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `no_clear`
warning: unused variable: `no_clear`
--> codegen/src/clear.rs:102:13
|
102 | let no_clear = v.attrs.iter().any(|v| {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_clear`
|
= note: `#[warn(unused_variables)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(unused_variables)]` on by default",
"rendered": null,
"spans": []
},
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 3681,
"byte_start": 3673,
"column_end": 21,
"column_start": 13,
"expansion": null,
"file_name": "codegen/src/clear.rs",
"is_primary": true,
"label": null,
"line_end": 102,
"line_start": 102,
"suggested_replacement": "_no_clear",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 21,
"highlight_start": 13,
"text": " let no_clear = v.attrs.iter().any(|v| {"
}
]
}
]
}
]
Check warning on line 124 in codegen/src/clear.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `no_clear`
warning: unused variable: `no_clear`
--> codegen/src/clear.rs:124:13
|
124 | let no_clear = f.attrs.iter().any(|v| {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_clear`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 4493,
"byte_start": 4485,
"column_end": 21,
"column_start": 13,
"expansion": null,
"file_name": "codegen/src/clear.rs",
"is_primary": true,
"label": null,
"line_end": 124,
"line_start": 124,
"suggested_replacement": "_no_clear",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 21,
"highlight_start": 13,
"text": " let no_clear = f.attrs.iter().any(|v| {"
}
]
}
]
}
]
Check warning on line 55 in codegen/src/dispatch.rs
github-actions / cargo test (ubuntu-20.04)
method `to_index` is never used
warning: method `to_index` is never used
--> codegen/src/dispatch.rs:55:12
|
40 | impl FieldName {
| -------------- method in this implementation
...
55 | pub fn to_index(&self) -> usize {
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(dead_code)]` on by default",
"rendered": null,
"spans": []
}
]
Check warning on line 33 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused import: `Context as _`
warning: unused import: `Context as _`
--> testprog/src/main.rs:33:29
|
33 | use regecs::object::{Class, Context as _, Object, ObjectRef};
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(unused_imports)]` on by default",
"rendered": null,
"spans": []
},
{
"children": [],
"code": null,
"level": "help",
"message": "remove the unused import",
"rendered": null,
"spans": [
{
"byte_end": 1782,
"byte_start": 1768,
"column_end": 41,
"column_start": 27,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 33,
"line_start": 33,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 41,
"highlight_start": 27,
"text": "use regecs::object::{Class, Context as _, Object, ObjectRef};"
}
]
}
]
}
]
Check warning on line 209 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unnecessary parentheses around type
warning: unnecessary parentheses around type
--> testprog/src/main.rs:209:22
|
209 | type Arguments = (i32);
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
209 - type Arguments = (i32);
209 + type Arguments = i32;
|
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(unused_parens)]` on by default",
"rendered": null,
"spans": []
},
{
"children": [],
"code": null,
"level": "help",
"message": "remove these parentheses",
"rendered": null,
"spans": [
{
"byte_end": 6562,
"byte_start": 6561,
"column_end": 23,
"column_start": 22,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 209,
"line_start": 209,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 23,
"highlight_start": 22,
"text": " type Arguments = (i32);"
}
]
},
{
"byte_end": 6566,
"byte_start": 6565,
"column_end": 27,
"column_start": 26,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 209,
"line_start": 209,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 27,
"highlight_start": 26,
"text": " type Arguments = (i32);"
}
]
}
]
}
]
Check warning on line 216 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused import: `regecs_codegen::New`
warning: unused import: `regecs_codegen::New`
--> testprog/src/main.rs:216:5
|
216 | use regecs_codegen::New;
| ^^^^^^^^^^^^^^^^^^^
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "remove the whole `use` item",
"rendered": null,
"spans": [
{
"byte_end": 6697,
"byte_start": 6672,
"column_end": 1,
"column_start": 1,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 217,
"line_start": 216,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 25,
"highlight_start": 1,
"text": "use regecs_codegen::New;"
},
{
"highlight_end": 1,
"highlight_start": 1,
"text": "use regecs_codegen::Object;"
}
]
}
]
}
]
Check warning on line 217 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused import: `regecs_codegen::Object`
warning: unused import: `regecs_codegen::Object`
--> testprog/src/main.rs:217:5
|
217 | use regecs_codegen::Object;
| ^^^^^^^^^^^^^^^^^^^^^^
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "remove the whole `use` item",
"rendered": null,
"spans": [
{
"byte_end": 6725,
"byte_start": 6697,
"column_end": 1,
"column_start": 1,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 218,
"line_start": 217,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 28,
"highlight_start": 1,
"text": "use regecs_codegen::Object;"
},
{
"highlight_end": 1,
"highlight_start": 1,
"text": ""
}
]
}
]
}
]
Check warning on line 30 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused import: `regecs::component::list::List`
warning: unused import: `regecs::component::list::List`
--> testprog/src/main.rs:30:5
|
30 | use regecs::component::list::List;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Raw output
[]
Check warning on line 35 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused import: `Context`
warning: unused import: `Context`
--> testprog/src/main.rs:35:22
|
35 | use regecs::system::{Context as _, Update};
| ^^^^^^^
Raw output
[]
Check warning on line 195 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `ctx`
warning: unused variable: `ctx`
--> testprog/src/main.rs:195:28
|
195 | fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
|
= note: `#[warn(unused_variables)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(unused_variables)]` on by default",
"rendered": null,
"spans": []
},
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6262,
"byte_start": 6259,
"column_end": 31,
"column_start": 28,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 195,
"line_start": 195,
"suggested_replacement": "_ctx",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 31,
"highlight_start": 28,
"text": " fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {"
}
]
}
]
}
]
Check warning on line 195 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `state`
warning: unused variable: `state`
--> testprog/src/main.rs:195:44
|
195 | fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6280,
"byte_start": 6275,
"column_end": 49,
"column_start": 44,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 195,
"line_start": 195,
"suggested_replacement": "_state",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 49,
"highlight_start": 44,
"text": " fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {"
}
]
}
]
}
]
Check warning on line 195 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `event`
warning: unused variable: `event`
--> testprog/src/main.rs:195:57
|
195 | fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6293,
"byte_start": 6288,
"column_end": 62,
"column_start": 57,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 195,
"line_start": 195,
"suggested_replacement": "_event",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 62,
"highlight_start": 57,
"text": " fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {"
}
]
}
]
}
]
Check warning on line 199 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `ctx`
warning: unused variable: `ctx`
--> testprog/src/main.rs:199:29
|
199 | fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6363,
"byte_start": 6360,
"column_end": 32,
"column_start": 29,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 199,
"line_start": 199,
"suggested_replacement": "_ctx",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 32,
"highlight_start": 29,
"text": " fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {"
}
]
}
]
}
]
Check warning on line 199 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `state`
warning: unused variable: `state`
--> testprog/src/main.rs:199:45
|
199 | fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6381,
"byte_start": 6376,
"column_end": 50,
"column_start": 45,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 199,
"line_start": 199,
"suggested_replacement": "_state",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 50,
"highlight_start": 45,
"text": " fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {"
}
]
}
]
}
]
Check warning on line 203 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `ctx`
warning: unused variable: `ctx`
--> testprog/src/main.rs:203:29
|
203 | fn on_update(&mut self, ctx: &mut Ctx1, state: &i32) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6445,
"byte_start": 6442,
"column_end": 32,
"column_start": 29,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 203,
"line_start": 203,
"suggested_replacement": "_ctx",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 32,
"highlight_start": 29,
"text": " fn on_update(&mut self, ctx: &mut Ctx1, state: &i32) {"
}
]
}
]
}
]
Check warning on line 203 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `state`
warning: unused variable: `state`
--> testprog/src/main.rs:203:45
|
203 | fn on_update(&mut self, ctx: &mut Ctx1, state: &i32) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6463,
"byte_start": 6458,
"column_end": 50,
"column_start": 45,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 203,
"line_start": 203,
"suggested_replacement": "_state",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 50,
"highlight_start": 45,
"text": " fn on_update(&mut self, ctx: &mut Ctx1, state: &i32) {"
}
]
}
]
}
]
Check warning on line 228 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `ctx`
warning: unused variable: `ctx`
--> testprog/src/main.rs:228:28
|
228 | fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6920,
"byte_start": 6917,
"column_end": 31,
"column_start": 28,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 228,
"line_start": 228,
"suggested_replacement": "_ctx",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 31,
"highlight_start": 28,
"text": " fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {"
}
]
}
]
}
]
Check warning on line 228 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `state`
warning: unused variable: `state`
--> testprog/src/main.rs:228:44
|
228 | fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6938,
"byte_start": 6933,
"column_end": 49,
"column_start": 44,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 228,
"line_start": 228,
"suggested_replacement": "_state",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 49,
"highlight_start": 44,
"text": " fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {"
}
]
}
]
}
]
Check warning on line 228 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `event`
warning: unused variable: `event`
--> testprog/src/main.rs:228:57
|
228 | fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 6951,
"byte_start": 6946,
"column_end": 62,
"column_start": 57,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 228,
"line_start": 228,
"suggested_replacement": "_event",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 62,
"highlight_start": 57,
"text": " fn on_event(&mut self, ctx: &mut Ctx1, state: &i32, event: &Event<()>) {"
}
]
}
]
}
]
Check warning on line 232 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `ctx`
warning: unused variable: `ctx`
--> testprog/src/main.rs:232:29
|
232 | fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 7021,
"byte_start": 7018,
"column_end": 32,
"column_start": 29,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 232,
"line_start": 232,
"suggested_replacement": "_ctx",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 32,
"highlight_start": 29,
"text": " fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {"
}
]
}
]
}
]
Check warning on line 232 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `state`
warning: unused variable: `state`
--> testprog/src/main.rs:232:45
|
232 | fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 7039,
"byte_start": 7034,
"column_end": 50,
"column_start": 45,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 232,
"line_start": 232,
"suggested_replacement": "_state",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 50,
"highlight_start": 45,
"text": " fn on_remove(&mut self, ctx: &mut Ctx1, state: &i32) {"
}
]
}
]
}
]
Check warning on line 236 in testprog/src/main.rs
github-actions / cargo test (ubuntu-20.04)
unused variable: `ctx`
warning: unused variable: `ctx`
--> testprog/src/main.rs:236:29
|
236 | fn on_update(&mut self, ctx: &mut Ctx1, state: &i32) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 7103,
"byte_start": 7100,
"column_end": 32,
"column_start": 29,
"expansion": null,
"file_name": "testprog/src/main.rs",
"is_primary": true,
"label": null,
"line_end": 236,
"line_start": 236,
"suggested_replacement": "_ctx",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 32,
"highlight_start": 29,
"text": " fn on_update(&mut self, ctx: &mut Ctx1, state: &i32) {"
}
]
}
]
}
]