chore: upgrade to stable2503 #37
GitHub Actions / clippy
succeeded
Jun 16, 2025 in 1s
clippy
1 warning
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 0 |
| Warning | 1 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.86.0 (05f9846f8 2025-03-31)
- cargo 1.86.0 (adf9b6ad1 2025-02-28)
- clippy 0.1.86 (05f9846f89 2025-03-31)
Annotations
Check warning on line 316 in runtime/src/apis.rs
github-actions / clippy
non-local `impl` definition, `impl` blocks should be written at the same level as their item
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/src/apis.rs:316:13
|
297 | / fn dispatch_benchmark(
298 | | config: frame_benchmarking::BenchmarkConfig
299 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
316 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
Loading