Skip to content

[NFY] impl FromLua for out types

Sign in for the full log view
GitHub Actions / clippy failed Oct 24, 2024 in 1s

clippy

6 errors

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check failure on line 88 in src/content.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find type `LuaResult` in this scope

error[E0412]: cannot find type `LuaResult` in this scope
  --> src/content.rs:88:47
   |
88 |     fn from_lua(_value: LuaValue, _: &Lua) -> LuaResult<Self> {
   |                                               ^^^^^^^^^ help: a type alias with a similar name exists: `Result`
   |
  ::: src/types.rs:13:1
   |
13 | pub type Result<T> = anyhow::Result<T>;
   | --------------------------------------- similarly named type alias `Result` defined here

Check failure on line 88 in src/content.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find type `Lua` in this scope

error[E0412]: cannot find type `Lua` in this scope
  --> src/content.rs:88:39
   |
88 |     fn from_lua(_value: LuaValue, _: &Lua) -> LuaResult<Self> {
   |                                       ^^^ not found in this scope

Check failure on line 88 in src/content.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find type `LuaValue` in this scope

error[E0412]: cannot find type `LuaValue` in this scope
  --> src/content.rs:88:25
   |
88 |     fn from_lua(_value: LuaValue, _: &Lua) -> LuaResult<Self> {
   |                         ^^^^^^^^ not found in this scope

Check failure on line 5 in src/content.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `mlua`

error[E0432]: unresolved import `mlua`
 --> src/content.rs:5:5
  |
5 | use mlua::FromLua;
  |     ^^^^ use of undeclared crate or module `mlua`

Check failure on line 4 in src/content.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared crate or module `mlua`

error[E0433]: failed to resolve: use of undeclared crate or module `mlua`
 --> src/content.rs:4:5
  |
4 | use mlua::prelude::*;
  |     ^^^^ use of undeclared crate or module `mlua`

Check failure on line 6 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared crate or module `mlua`

error[E0433]: failed to resolve: use of undeclared crate or module `mlua`
 --> src/lib.rs:6:5
  |
6 | use mlua::prelude::*;
  |     ^^^^ use of undeclared crate or module `mlua`