Skip to content

feat: publish grit blueprints subcommands #1501

feat: publish grit blueprints subcommands

feat: publish grit blueprints subcommands #1501

GitHub Actions / clippy failed Jan 7, 2025 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 7 in crates/grit-util/src/position.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty line after outer attribute

error: empty line after outer attribute
 --> crates/grit-util/src/position.rs:6:1
  |
6 | / #[serde(rename_all = "camelCase")]
7 | |
  | |_
8 |   pub struct Position {
  |   ------------------- the attribute applies to this struct
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
  = note: `-D clippy::empty-line-after-outer-attr` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_outer_attr)]`
  = help: if the empty line is unintentional remove it

Check failure on line 20 in crates/grit-util/src/parser.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'tree

error: the following explicit lifetimes could be elided: 'tree
  --> crates/grit-util/src/parser.rs:20:6
   |
20 | impl<'tree, Tree: Ast> FileOrigin<'tree, Tree> {
   |      ^^^^^                        ^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `-D clippy::needless-lifetimes` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
   |
20 - impl<'tree, Tree: Ast> FileOrigin<'tree, Tree> {
20 + impl<Tree: Ast> FileOrigin<'_, Tree> {
   |